/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   2.  Fonts
   2.  Global Styles & Reset
   3.  Variables
   4.  Layout & Structure
   5.  Header
   6.  Logo Animation
   7.  Main Content & Sections
   8.  Image Cards
   9.  Buttons
  10. Curtain Menu
  11. Side Curtains (Legal/Privacy)
  12. Hamburger Menu
  13. Typography & Text
  14. Forms & Contact Section
  15. Responsive Design
  16. Hero Section
  17. Utility Classes
  18. Custom Alerts

   ========================================================================== */

/* 1. Fonts */
/* -------------------------------------------------------------------------- */

/* Import font families for the project */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600&display=swap');

/* 2. Global Styles & Reset */
/* -------------------------------------------------------------------------- */

:root {
    --primary-color: #14b8a6; /* Turquoise blue from Leolia logo */
    --primary-dark: #0f766e;
    --primary-light: #2dd4bf;
    --secondary-color: #1f2937;
    --text-color: #333;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --success: #10b981;
    --error: #ef4444;
    --info: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Figtree', 'Raleway', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #000;
}

.hidden {
    display: none !important;
}

.navbar,
.web-footer,
.page-container > .navbar {
    display: none !important; /* Hides initial navbar and footer elements */
}





/* 3. Variables */
/* -------------------------------------------------------------------------- */

:root {
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
}


/* 4. Layout & Structure */
/* -------------------------------------------------------------------------- */

.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center;
}

/* Column system */
.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.left-column,
.right-column {
    flex: 1;
    text-align: center;
}

.left-column {
    padding-right: 20px;
}

/* Text alignment utilities */
.text-center {
    text-align: center !important;
}

.text-white {
    color: white !important;
}

/* Flexbox utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.25rem !important;
}

/* 5. Header */
/* -------------------------------------------------------------------------- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* 6. Logo Animation */
/* -------------------------------------------------------------------------- */

.logo-animation-container {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 60px;
    width: 192px;
}

.svg-icon,
.svg-logo {
    display: block;
    transform-origin: left center;
}

.svg-icon {
    width: 60px;
    height: 60px;
}

.svg-logo {
    width: 192px;
    height: 60px;
}

.heart-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: heart-fade-animation 12s infinite ease-in-out;
}

.logo-complete {
    position: absolute;
    width: 192px;
    height: 60px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: logo-fade-animation 12s infinite ease-in-out;
}

/* Logo Animations */
@keyframes heart-fade-animation {
    0%, 3% {
        opacity: 1;
    }

    40%, 50% {
        opacity: 0;
    }

    90%, 100% {
        opacity: 1;
    }
}

@keyframes logo-fade-animation {
    0%, 40% {
        opacity: 0;
    }

    50%, 90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* 7. Main Content & Sections */
/* -------------------------------------------------------------------------- */

.parallax-container {
    position: relative;
    width: 100%;
    background: url('/assets/leolia/images/leolia_bg.webp') no-repeat top center;
    background-size: cover;
    background-attachment: scroll;
    margin-top: 60px;
    padding-bottom: 60px;
}


/* 8. Image Cards */
/* -------------------------------------------------------------------------- */
.image-card {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-card-link-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none !important; /* Force no underline */
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.learn-more-link:hover,
.learn-more-link:focus,
.learn-more-link:active {
  color: white;
  text-decoration: none !important;
}

.learn-more-text {
  position: relative;
  padding-bottom: 2px;
}

.learn-more-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.learn-more-link:hover .learn-more-text::after {
  width: 100%;
}

.arrow-icon {
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}

.learn-more-link:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* 9. Buttons */
/* -------------------------------------------------------------------------- */

.button, .btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background-color: var(--primary-color);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover,
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}


/* 10. Curtain Menu */
/* -------------------------------------------------------------------------- */

.curtain {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: url('/assets/leolia/images/leobase_login.webp') no-repeat center center;
    background-size: cover;
    transition: all 0.5s ease-in-out;
    z-index: 2000;
    overflow: hidden;
}

.curtain.open {
    right: 0;
}

.curtain-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0);
    transition: backdrop-filter 0.5s ease;
    display: flex;
    flex-direction: column;
}

.curtain.open .curtain-content {
    backdrop-filter: blur(1px);
}

/* Top Controls */
.top-controls {
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: white;
    color: black;
}

.login-btn a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px 24px;
    border: 2px solid white;
    border-radius: 9px;
    transition: all 0.3s ease;
}

.login-btn a:hover {
    background: white;
    color: black;
}

/* Menu Items */
.menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

.menu-item {
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    background: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: width 0.3s ease;
}

.menu-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.menu-item:hover::before,
.menu-item:active::before {
    width: 100%;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: white;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}


.menu-item:hover::after,
.menu-item:active::after {
    transform: scaleY(1);
}

.menu-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: white;
}


/* Footer Styles */
.curtain-footer {
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}


/* 11. Side Curtains (Legal/Privacy) */
/* -------------------------------------------------------------------------- */
.side-curtain {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 100vh; /* Ensure at least viewport height */
    height: auto;
    background-size: cover;
    transition: all 0.5s ease-in-out;
    z-index: 2000;
    overflow-y: auto; /* Enables scrolling for content exceeding the height */
    color: white;
    display: flex;
    flex-direction: column;
}

.side-curtain.open {
    left: 0;
}

.legal-curtain,
.privacy-curtain {
    background: url('/assets/leolia/images/leolia_bg.webp') no-repeat center center fixed;
    background-size: cover;
    height: 100vh; /* Force viewport height */
    position: fixed; /* Ensure fixed positioning */
    top: 0;
    left: -100%;
    width: 100%;
}

.legal-curtain-content {
    position: absolute; /* Change to absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh; /* Force viewport height */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    padding: 80px 40px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}


.legal-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: -0.01em;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
}

/* Legal content typography optimization */
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6 {
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.legal-content p {
    color: white;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.1;
}

.legal-content ul,
.legal-content ol {
    color: white;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.1;
}

.legal-content a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.legal-content a:hover {
    opacity: 0.8;
}

/* Legal Header Spacing Adjustments */
.legal-header {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.legal-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-right: 20px;
    flex: 1;
}

/* Accordion Styles for Side Curtains */
.side-curtain .accordion {
    background: transparent;
    border: none;
    width: 100%;
    max-width: 100%;
}

.side-curtain .accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
}

.side-curtain .accordion-header {
    margin-bottom: 0;
}

.side-curtain .accordion-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    line-height: 1.1;
    border: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.side-curtain .accordion-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.side-curtain .accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.side-curtain .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
}

.side-curtain .accordion-button::after {
    display: none; /* Hide default Bootstrap accordion arrow */
}

.side-curtain .accordion-button .fas {
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: white;
}

.side-curtain .accordion-collapse {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-curtain .accordion-body {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.1;
}

.side-curtain .accordion-body h3 {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.4rem;
    color: white;
    line-height: 1.1;
}

.side-curtain .accordion-body p {
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.side-curtain .accordion-body ul {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.side-curtain .accordion-body li {
    margin-bottom: 0.3rem;
    line-height: 1.1;
}

.side-curtain .text-bold {
    font-weight: 600;
    color: white;
}

/* Last updated text style */
.side-curtain .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    margin-bottom: 1rem !important;
    line-height: 1.1;
}

/* Accordion collapse styles */
.side-curtain .accordion-collapse {
    overflow: hidden;
    transition: height 0.3s ease;
    width: 100%;
}

.side-curtain .accordion-collapse:not(.show) {
    display: none;
}

.side-curtain .accordion-collapse.show {
    display: block;
}

/* Ensure accordion maintains layout */
.side-curtain .legal-content .accordion {
    flex: 1;
    width: 100%;
}



/* 12. Hamburger Menu */
/* -------------------------------------------------------------------------- */

.hamburger-icon {
    cursor: pointer;
    padding: 5px;
}

.hamburger-icon span {
    display: block;
    height: 4px;
    width: 30px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Specific styles for close button */
.close-curtain span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.close-curtain span:nth-child(2) {
    opacity: 0;
}

.close-curtain span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Make close button pre-rotated */
.close-curtain {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    transform: rotate(0deg);
    flex-shrink: 0;
}


.close-curtain:hover {
  background: white;
   transform: rotate(180deg);
}

.close-curtain span {
    background: white;
    transition: all 0.3s ease;
}

.close-curtain:hover span {
  background: black;
}

/* 13. Typography & Text */
/* -------------------------------------------------------------------------- */
.text-left {
    text-align: left !important;
}

.text-bold {
  font-weight: 700;
}

/* Section specific styles */
#leo, #lia {
    position: relative;
    overflow: hidden;
}

#leo h1, #lia h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#leo h3, #lia h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#leo p, #lia p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#contact-us h1 {
    color: white;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#contact-us h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}


/* 14. Forms & Contact Section */
/* -------------------------------------------------------------------------- */

.contact-form {
  max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Contact info styles */
.contact-info {
    position: relative;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

/* For desktop, make it overlay on image */
@media (min-width: 768px) {
    #contact-us .col-md-6:last-child {
        position: relative;
    }
    
    #contact-us .contact-info {
        position: absolute;
        bottom: 0;
        left: 15px;
        right: 15px;
        margin-top: 0;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
        border-radius: 0 0 8px 8px;
    }
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: white;
}

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

.info-item i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.info-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.info-item a:hover {
    opacity: 0.8;
}


/* Form validation styles */
.form-control:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

/* 15. Responsive Design */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        min-height: 100vh;
        padding: 40px 15px;
    }
    
    #leo h1, #lia h1 {
        font-size: 2.5rem;
    }
    
    #leo h3, #lia h3 {
        font-size: 1.4rem;
    }
    
    #leo p, #lia p {
        font-size: 1rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-md-6 {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 2rem;
    }
    
    .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .image-card {
        margin-top: 1rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
  
    /* Contact section specific mobile adjustments */
    #contact-us .image-card {
        display: none; /* Hide the image card in contact section on mobile */
    }
    
    #contact-us.section {
        height: auto;
        min-height: auto; /* Allow the section to take only needed height */
        padding: 3rem 1rem;
    }
    
    #contact-us .contact-form {
        margin-bottom: 2rem;
    }
    
    #contact-us .contact-info {
        position: static;
        margin-top: 0;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 8px;
    }
    
    #contact-us .info-item {
        justify-content: flex-start; /* Left align contact info on mobile */
    }
}

@media (max-width: 767px) {

    .menu-text-title {
        font-size: 1.8rem;
        font-weight: 400;
        white-space: nowrap;
    }
    
    .menu-text-subtitle {
        font-size: 0.9rem;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .curtain,
    .side-curtain {
        width: 100%;
        right: -100%;
    }
    
    .side-curtain {
        left: -100%;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .login-btn a {
        font-size: 1rem;
        padding: 6px 16px;
    }
    
    .legal-curtain-content {
        padding: 60px 20px 20px;
    }
    
    .legal-title {
        font-size: 2rem;
    }
  
     /* Side Curtain Height Fixes */
    .side-curtain,
    .legal-curtain,
    .privacy-curtain,
    .legal-curtain-content {
       min-height: 100vh;
       height: 100%;
    }
}


@media (min-width: 768px) and (max-width: 1079px) {
    .curtain {
        width: 65%;
        right: -65%;
    }
    
    .side-curtain {
        width: 65%;
        left: -65%;
    }
    
    .menu-text-title {
        font-size: 2.2rem;
        font-weight: 400;
    }
    
    .menu-text-subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 1080px) and (max-width: 1399px) {
    .curtain {
        width: 45%;
        right: -45%;
    }
    
    .side-curtain {
        width: 45%;
        left: -45%;
    }
    
    .menu-text-title {
        font-size: 2.6rem;
    }
    
    .menu-text-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 1400px) {
    .curtain {
        width: 35%;
        right: -35%;
    }
    
    .side-curtain {
        width: 35%;
        left: -35%;
    }
    
    .menu-text-title {
        font-size: 2.8rem;
    }
    
    .menu-text-subtitle {
        font-size: 1.1rem;
    }
}

/* 16. Hero Section */
/* -------------------------------------------------------------------------- */

#hero.section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6);
  font-family: 'Figtree', 'Segoe UI', sans-serif;
}

#hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 20px;
}

#hero .hero-title {
  font-size: 4rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  width: 100%;
  color: white;
}

#hero .hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  width: 100%;
  color: white;
}

#hero .hero-description {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0;
  padding: 0 20px;
  width: 100%;
  letter-spacing: -0.01em;
  font-weight: 300;
  color: white;
  max-width: 700px;
}

#hero .btn-primary {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

#hero .btn-primary:hover {
  transform: translateY(-2px);
}

/* Hero Features */
#hero .hero-features {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

#hero .hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

#hero .hero-feature i {
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Hero Buttons */
#hero .hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

#hero .hero-buttons .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 140px;
  text-align: center;
}

#hero .hero-buttons .btn-primary {
  margin-top: 0;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: white;
}

#hero .hero-buttons .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

#hero .hero-buttons .btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

#hero .hero-buttons .btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  #hero.section {
    padding: 40px 15px;
    height: 100vh;
    min-height: -webkit-fill-available; /* iOS fix */
  }
  
  #hero .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  #hero .hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  #hero .hero-description {
    font-size: 1rem;
    line-height: 1.4;
    padding: 0 10px;
  }
  
  #hero .btn-primary {
    padding: 10px 25px;
    font-size: 1rem;
  }

  #hero .container {
    gap: 15px;
  }
  
  #hero .hero-features {
    gap: 20px;
    margin: 8px 0;
  }
  
  #hero .hero-feature {
    font-size: 0.9rem;
  }
  
  #hero .hero-feature i {
    font-size: 1rem;
  }
  
  #hero .hero-buttons {
    gap: 10px;
    margin-top: 15px;
  }
  
  #hero .hero-buttons .btn {
    padding: 10px 25px;
    font-size: 1rem;
    min-width: 120px;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  #hero .hero-title {
    font-size: 2rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.25rem;
  }
  
  #hero .container {
    gap: 12px;
  }

  #hero .hero-description {
    padding: 0 5px;
  }
  
  #hero .hero-features {
    gap: 15px;
    margin: 5px 0;
  }
  
  #hero .hero-feature {
    font-size: 0.85rem;
  }
  
  #hero .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  #hero .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}


/* 17. Utility Classes */
/* -------------------------------------------------------------------------- */
/* iOS Mobile Safari fix */
@supports (-webkit-touch-callout: none) {
  .side-curtain,
.legal-curtain,
  .privacy-curtain,
  .legal-curtain-content,
  #hero.section{
    min-height: -webkit-fill-available;
    height: 100vh;
  }
}

/* 18. Custom Alerts */
/* -------------------------------------------------------------------------- */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
}

.custom-alert.fade-out {
  animation: slideOut 0.3s ease-in;
}

.alert-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
  font-size: 14px;
}

.alert-success .alert-content {
  background-color: var(--success);
}

.alert-error .alert-content {
  background-color: var(--error);
}

.alert-info .alert-content {
  background-color: var(--info);
}

.alert-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-left: 15px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.alert-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}