/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    overflow-x: hidden;
    background-color: #FAFAFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #8B7355;
    color: white;
}

.btn-primary:hover {
    background-color: #6B5B47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px #8B7355;
}

.btn-secondary {
    background-color: #5D4E37;
    color: white;
}

.btn-secondary:hover {
    background-color: #4A3F2E;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #8B7355;
    border: 2px solid #8B7355;
}

.btn-outline:hover {
    background-color: #8B7355;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C2C2C;
    color: white;
    padding: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #E0E0E0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1A1A1A;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #E8E8E8;
}

.cookie-modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6B6B6B;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #2C2C2C;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E8E8E8;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category h4 {
    margin: 0;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: #6B6B6B;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D0D0D0;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #8B7355;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #8B7355;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid #E8E8E8;
    text-align: right;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid #E8E8E8;
}

.header.scrolled {
    box-shadow: 0 2px 20px #E8E8E8;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2C2C2C;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #2C2C2C;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B7355;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8B7355;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2C2C2C;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: slideInUp 1s ease-out;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-quote {
    color: #D4AF37;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-highlight {
    color: #D4AF37;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #E0E0E0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #8B7355;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #6B5B47;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: #8B7355;
    border: 3px solid #8B7355;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: #8B7355;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

.hero-slide-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background-color: #D4AF37;
    transform: scale(1.2);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #F5F5F5;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B6B6B;
    max-width: 600px;
    margin: 0 auto;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.story-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px #E8E8E8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #F0F0F0;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px #D0D0D0;
}

.story-icon {
    width: 80px;
    height: 80px;
    background: #8B7355;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.story-card h3 {
    margin-bottom: 20px;
    color: #2C2C2C;
}

.story-card p {
    color: #6B6B6B;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px #E8E8E8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #8B7355;
    border: 1px solid #F0F0F0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px #D0D0D0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #8B7355;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.service-card h3 {
    margin-bottom: 16px;
    color: #2C2C2C;
}

.service-card p {
    color: #6B6B6B;
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #8B7355;
    background: transparent;
    color: #8B7355;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8B7355;
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px #E8E8E8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F0F0F0;
    min-height: 300px;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px #C0C0C0;
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2C2C2C;
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.portfolio-overlay p {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: #E0E0E0;
}

.btn-details {
    background: #8B7355;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-details:hover {
    background: #6B5B47;
}

/* Portfolio Item Hidden State */
.portfolio-item.hidden {
    display: none;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #8B7355;
    border-radius: 8px;
    color: white;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.4;
}

cite {
    font-size: 1rem;
    color: #D4AF37;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #2C2C2C;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #8B7355;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
    color: #2C2C2C;
}

.contact-item p {
    margin: 0;
    color: #6B6B6B;
    line-height: 1.5;
}

.contact-item a {
    color: #8B7355;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    margin-bottom: 16px;
    color: #2C2C2C;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #8B7355;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form h3 {
    margin-bottom: 30px;
    color: #2C2C2C;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2C2C2C;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B7355;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 8px;
    position: relative;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    transform: translateY(-1px);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkbox-label:hover .checkmark {
    border-color: #8B7355;
    background-color: #f8f8f8;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.15);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #8B7355;
    border-color: #8B7355;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmark-appear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes checkmark-appear {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.checkbox-label a {
    color: #8B7355;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.checkbox-label a:hover {
    color: #6b5a42;
    border-bottom-color: #6b5a42;
}

.error-message {
    display: block;
    color: #8B7355;
    font-size: 0.875rem;
    margin-top: 4px;
    min-height: 20px;
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.form-message.success {
    background-color: #E8F5E8;
    color: #2E5A2E;
    border: 1px solid #C8E6C8;
}

.form-message.error {
    background-color: #FFEBEE;
    color: #8B2E2E;
    border: 1px solid #FFCDD2;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-section p {
    color: #E0E0E0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #D4AF37;
}

.footer-section a {
    color: #D4AF37;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #404040;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #E0E0E0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
}

/* Modal per dettagli */
.details-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.details-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-details {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 1;
}

.close-details:hover {
    color: #8B7355;
}

.details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.details-images {
    background: #F8F8F8;
    padding: 30px;
    border-radius: 12px 0 0 12px;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.detail-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.detail-thumbnail:hover,
.detail-thumbnail.active {
    border-color: #8B7355;
    transform: scale(1.05);
}

.details-info {
    padding: 30px;
    background: white;
}

.details-info h3 {
    color: #2C2C2C;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.details-info p {
    color: #6B6B6B;
    margin-bottom: 24px;
    line-height: 1.6;
}

.details-specs h4 {
    color: #2C2C2C;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.details-specs ul {
    list-style: none;
    padding: 0;
}

.details-specs li {
    color: #6B6B6B;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.details-specs li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B7355;
    font-weight: bold;
}

/* Social Icons - Sfondo sempre bianco */
.social-icons a {
    width: 40px;
    height: 40px;
    background: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B7355 !important;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: 2px solid #8B7355;
}

.social-icons a:hover {
    transform: translateY(-2px);
    background: #8B7355 !important;
    color: white !important;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px #F3F4F6;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .portfolio-filters {
        gap: 15px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .story-card,
    .service-card {
        padding: 30px 20px;
    }
    
    .details-content {
        grid-template-columns: 1fr;
    }
    
    .details-images {
        border-radius: 12px 12px 0 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .story-card,
    .service-card {
        padding: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .details-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.slide-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* reCAPTCHA v3 */
/* .recaptcha-container {
    margin: 20px 0;
    text-align: center;
} */

/* .recaptcha-container .g-recaptcha {
    display: inline-block;
} */

/* Nascondi il badge del reCAPTCHA v3 se non necessario */
/* .grecaptcha-badge {
    visibility: hidden !important;
} */

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    outline: 2px solid #8B7355;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.checkbox-label input[type="checkbox"]:focus:checked + .checkmark {
    outline: 2px solid #8B7355;
    outline-offset: 2px;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3), 0 0 0 3px rgba(139, 115, 85, 0.1);
}


