/* Modern CSS Reset and Base Styles */
:root {
    --primary-gradient: linear-gradient(120deg, #007AFF, #00C7FF);
    --surface-gradient: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.97));
    --glass-effect: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #fbfbfd;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

/* Modern Navigation */
.navbar {
    background: rgba(251, 251, 253, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 1rem 0;
}

.navbar-nav {
    gap: 2rem;
}

.navbar .nav-link {
    color: #1d1d1f !important;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    position: relative;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: #007AFF !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Fix dark theme issues */
[data-bs-theme="dark"] .navbar {
    background: rgba(33, 37, 41, 0.95) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(29, 29, 31, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown menu styles */
.dropdown-menu {
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #1d1d1f;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(0, 122, 255, 0.1);
    color: #007AFF;
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    background-image: url('/assets/img/lustica.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 20px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #fbfbfd);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* Content Sections */
.section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 2rem 4rem;
    }
}

/* Modern Cards and Sections */
.brochure-section {
    background: var(--surface-gradient);
    padding: 3rem 2rem;
    border-radius: 24px;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brochure-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Brochure buttons container fix */
.brochure-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    max-width: 100%;
}

@media (min-width: 768px) {
    .brochure-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* Button styles update */
.btn-custom {
    padding: 1rem 1.5rem;
    font-weight: 400;
    border-radius: 12px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-sm);
    white-space: normal;
    min-height: 48px;
    width: 100%;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .btn-custom {
        width: auto;
        min-width: 240px;
        white-space: nowrap;
    }
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-custom i {
    flex-shrink: 0;
}

/* Map Section */
.map-section {
    padding: 2rem;
}

.map-section img {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.map-section img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    background: var(--surface-gradient);
    padding: 2rem 0.5rem;
    border-radius: 24px;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.contact-cards-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

.contact-card {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    margin-top: 1rem;
    font-weight: 300;
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.contact-info a {
    color: #007AFF;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    font-size: 0.9rem;
}

.contact-info a:hover {
    color: #0056b3;
    transform: translateY(-2px);
}

.contact-info .phone-number {
    color: #1d1d1f;
    font-size: 0.9rem;
}

.contact-info i {
    width: 16px;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.9rem;
}

.contact-card h5 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Desktop styles */
@media (min-width: 768px) {
    .contact-section {
        padding: 3rem 2rem;
    }
    
    .contact-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-info {
        margin-top: 1.5rem;
    }

    .contact-info p {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .contact-info a,
    .contact-info .phone-number {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .contact-info i {
        width: 20px;
        font-size: 1rem;
    }

    .contact-card h5 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
}

/* Mobile styles (default) */
@media (max-width: 767px) {
    #cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    #cookie-banner {
        bottom: 2rem;
        right: 2rem;
        max-width: 380px;
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
}

/* Button container */
.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

@media (max-width: 767px) {
    .cookie-buttons {
        flex-direction: row;
    }
    
    #accept-cookies,
    #decline-cookies {
        flex: 1;
    }
}

/* Button styles */
#accept-cookies {
    background: var(--primary-gradient);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: white;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    min-width: 100px;
}

#accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

#decline-cookies {
    background: transparent;
    border: 1px solid #dc3545;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: #dc3545;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 100px;
}

#decline-cookies:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

#cookie-banner a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

#cookie-banner a:hover {
    color: #0056b3;
}

/* Footer */
footer {
    background: var(--surface-gradient);
    padding: 2rem 1rem;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 300;
    color: #86868b;
}

footer a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0056b3;
}

footer small {
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

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

.section > * {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Info card and items styling */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #007AFF;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.info-links a {
    color: #007AFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-links a:hover {
    color: #0056b3;
}

/* Add comma after first email */
.info-links a:first-child::after {
    content: ',';
    color: #1d1d1f;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    font-weight: 300;
}

.premium-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.premium-list li::before {
    content: '•';
    color: #1d1d1f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Special styling for contact items */
.premium-list li.contact-item {
    padding-left: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.premium-list li.contact-item::before {
    content: none;
}

.premium-list li.contact-item i {
    color: #1d1d1f;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.premium-list li strong {
    color: #1d1d1f;
    font-weight: 400;
}

.premium-list li a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-list li a:hover {
    color: #0056b3;
}

.premium-list .contact-content {
    display: inline;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .navbar .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item:hover {
        transform: none;
    }
}

/* Section headings */
h3 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

/* Lead text */
.lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: #86868b;
    letter-spacing: -0.01em;
}

/* Regular text */
p {
    font-size: 1rem;
    font-weight: 300;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

/* Muted text */
.text-muted {
    color: #86868b !important;
    font-weight: 300;
}

/* Privacy Policy specific styles */
.privacy-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.privacy-hero .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    opacity: 0.9;
}

.privacy-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

.premium-list {
    font-weight: 300;
}

.premium-list li strong {
    font-weight: 400;
    color: #1d1d1f;
}
