@import url('./chat.css');

/* Reset și stiluri generale optimizate */
:root {
    --primary-color: #E0BBE4; /* Soft pink/purple */
    --primary-dark: #957DAD; /* Darker purple */
    --primary-light: #F0E6F2; /* Very light purple */
    --secondary-color: #FFC72C; /* Golden yellow for contrast */
    --accent-color: #D291BC; /* More intense pink */
    --text-dark: #4A3426; /* Dark brown */
    --text-medium: #7A5C41; /* Medium brown */
    --text-light: #9E8265; /* Light brown */
    --background-light: #FFFDF9; /* Off-white */
    --background-beige: #F9F5F0; /* Light cream */
    --white: #FFFFFF;
    --footer-dark: #5D4730; /* Dark brown for footer */
    --footer-darker: #4A3624; /* Darker brown for footer */
    --glass-bg: rgba(255, 253, 249, 0.92);
    --glass-border: rgba(255, 255, 255, 0.25);
    --hero-panel-bg: rgba(255, 253, 249, 0.85);
    --cart-badge: #E74C3C; /* Vibrant red for cart badge */
    --success-color: #4CAF50;
    --success-light: #e7f4e4;
    --warning-color: #ffc107;
    --warning-light: #fff3cd;
    --primary-color-alpha-01: rgba(224, 187, 228, 0.1); /* Updated rgba values */
    --primary-color-alpha-02: rgba(224, 187, 228, 0.02); /* Updated rgba values */
    --primary-color-alpha-03: rgba(224, 187, 228, 0.3); /* Updated rgba values */
    --error-color-alpha-01: rgba(220, 38, 38, 0.1);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Ensure html and body take full height */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure padding/border are included in height calculation */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #FDFBF7;
    color: #4A3B2C;
    font-family: 'CleanSans', sans-serif;
    /* Removed overflow-x: hidden to allow mobile nav to slide in */
    font-size: 18px;
    min-width: unset; /* Remove minimum width to avoid overflow issues */
}

.container {
    width: 90%; /* Fluid width */
    max-width: 1440px; /* Max width for larger screens */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 15px; /* Add padding for smaller screens */
}

/* Spacing pentru a evita suprapunerea cu navbar-ul fix */
section {
    padding: 80px 0; /* Adjusted padding for smaller screens */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    scroll-margin-top: 80px; /* Important pentru anchor links */
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    gap: 8px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn:hover::after {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Main Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 40px 0 0 0; /* Added 40px top padding */
    margin-bottom: 40px; /* Added 40px bottom margin */
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Added for responsiveness */
}

.logo {
    font-family: 'RusticSerif', serif;
    font-size: 42px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #E8DCC4;
}

.menu-toggle {
    display: none; /* Hidden by default, shown on smaller screens */
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    padding: 0; /* Remove default button padding */
    line-height: 1; /* Ensure icon is centered */
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    list-style: none;
    gap: 50px;
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: translateX(0);
    flex-direction: row;
    padding: 0;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 50px;
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    color: #E8DCC4;
    border-color: #E8DCC4;
}

/* Mobile Navigation Toggle Button */
.menu-toggle {
    display: none; /* Hidden by default, shown on smaller screens */
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    line-height: 1;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen to the right */
    width: 80%; /* Adjust width as needed */
    max-width: 300px; /* Max width for mobile menu */
    height: 100vh;
    background: var(--background-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.4s ease-in-out; /* Transition for sliding in */
    z-index: 1001;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0; /* Slide into view */
}

.mobile-nav .nav-menu-content {
    width: 100%;
}

.mobile-nav .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    text-align: left;
    list-style: none; /* Ensure no bullet points */
    padding: 0; /* Remove default padding */
}

.mobile-nav .nav-links li {
    width: 100%;
}

.mobile-nav a {
    color: var(--text-dark);
    font-size: 20px;
    padding: 10px 0;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (min-width: 801px) {
    .menu-toggle,
    .mobile-menu-overlay,
    .mobile-nav {
        display: none !important; /* Hide mobile elements on desktop */
    }
    .desktop-nav {
        display: flex; /* Show desktop nav */
    }
}

@media (max-width: 800px) {
    .desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }
    .menu-toggle {
        display: block; /* Show toggle button on mobile */
    }
    .mobile-nav {
        display: flex; /* Ensure mobile nav is flex for column layout */
    }
    .logo {
        font-size: 21px; /* Reduce logo title size by half for mobile */
    }
}

/* Hero */
.hero {
    height: 950px;
    width: 100%;
    background: url('../resources/images/HeroSectionBackground.png') no-repeat center bottom;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #FDFBF7, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero h1 {
    font-size: 96px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'RusticSerif', serif;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero .tagline {
    font-size: 36px;
    color: #E8DCC4;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-tagline {
    font-size: 28px;
    font-family: 'CleanSans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hero {
        height: 500px; /* Adjusted height for smaller screens */
        background-size: cover; /* Ensure it covers the section */
    }

    .hero h1 {
        font-size: 60px; /* Smaller font size for hero title */
    }

    .hero .tagline {
        font-size: 28px; /* Smaller font size for hero tagline */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px; /* Further adjust height for very small screens */
        background-size: cover; /* Ensure it covers the section */
    }

    .hero h1 {
        font-size: 40px; /* Even smaller font size */
    }

    .hero .tagline {
        font-size: 20px; /* Even smaller font size */
    }
}

@media (max-width: 300px) {
    .hero {
        height: 250px; /* Even smaller height */
        background-size: cover; /* Ensure it covers the section */
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero .tagline {
        font-size: 16px;
    }
}

/* Section Commons */
.section {
    padding: 80px 0; /* Adjusted padding for smaller screens */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    scroll-margin-top: 80px; /* Important pentru anchor links */
}

.section-header {
    text-align: center;
    margin-bottom: 60px; /* Adjusted margin */
}

.section-title {
    font-size: 48px; /* Adjusted font size */
    margin-bottom: 15px;
    color: #2C241B;
}

.section-divider {
    width: 60px; /* Adjusted width */
    height: 3px; /* Adjusted height */
    background-color: #C17C5C;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px; /* Adjusted font size */
    color: #7D8450;
    font-family: 'Handwritten', cursive;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* Adjusted gap */
    align-items: center;
}

.about-text p {
    font-size: 20px; /* Adjusted font size */
    line-height: 1.7; /* Adjusted line height */
    color: #5D534A;
    margin-bottom: 25px; /* Adjusted margin */
}

.about-quote {
    font-family: 'Handwritten', cursive;
    font-size: 32px;
    color: #C17C5C;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1; /* Move image above text on smaller screens */
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .about-text p {
        font-size: 16px;
    }
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0 #E8DCC4;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: translateY(-10px);
}

/* Products */
.products {
    background-color: #F4F1EA;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px; /* Adjusted gap */
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px); /* Slightly less aggressive hover */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Adjusted shadow */
}

.product-img {
    height: 250px; /* Adjusted height */
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px 20px; /* Adjusted padding */
    text-align: center;
}

.product-name {
    font-size: 22px; /* Adjusted font size */
    margin-bottom: 8px; /* Adjusted margin */
    color: #4A3B2C;
}

.product-desc {
    font-size: 15px; /* Adjusted font size */
    color: #888;
    line-height: 1.5;
}

/* Rooms */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 40px; /* Adjusted gap */
}

.room-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
}

.room-img-wrapper {
    height: 300px; /* Adjusted height */
    position: relative;
    overflow: hidden;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.03); /* Slightly less aggressive zoom */
}

.room-price {
    position: absolute;
    top: 15px; /* Adjusted position */
    right: 15px; /* Adjusted position */
    background: rgba(255,255,255,0.95);
    padding: 8px 18px; /* Adjusted padding */
    border-radius: 25px; /* Adjusted border-radius */
    font-weight: bold;
    color: #C17C5C;
    font-size: 16px; /* Adjusted font size */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adjusted shadow */
}

.room-details {
    padding: 30px; /* Adjusted padding */
}

.room-title {
    font-size: 24px; /* Adjusted font size */
    margin-bottom: 12px; /* Adjusted margin */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-meta {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px; /* Adjusted gap */
    margin-bottom: 18px; /* Adjusted margin */
    color: #7D8450;
    font-size: 14px; /* Adjusted font size */
    font-weight: 600;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 5px; /* Adjusted gap */
}

.room-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px; /* Adjusted margin */
    font-size: 1rem; /* Ensure readability */
}

.btn-room {
    display: inline-block;
    padding: 10px 25px; /* Adjusted padding */
    background-color: #4A3B2C;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-size: 0.95rem; /* Adjusted font size */
}

.btn-room:hover {
    background-color: #C17C5C;
}

/* Trails (Compass) */
.trails-section {
    background-color: #2C241B;
    color: #fff;
    padding: 80px 0 100px; /* Adjusted padding */
    position: relative;
    overflow: hidden;
}

.trails-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

/* SVG Map Background */
.map-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Fluid width */
    max-width: 1600px; /* Max width */
    height: 100%; /* Fluid height */
    max-height: 1600px; /* Max height */
    opacity: 0.1;
    pointer-events: none;
}

.compass-wrapper {
    position: relative;
    width: 100%; /* Fluid width */
    max-width: 1200px; /* Max width */
    height: 800px; /* Adjusted height */
    margin: 0 auto;
}

.compass-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; /* Adjusted size */
    height: 150px; /* Adjusted size */
    background: #C17C5C;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 0 15px rgba(193, 124, 92, 0.2), 0 0 40px rgba(0,0,0,0.5); /* Adjusted shadow */
    border: 3px solid #fff; /* Adjusted border */
}

.compass-center i {
    font-size: 40px; /* Adjusted font size */
    margin-bottom: 3px; /* Adjusted margin */
    font-size: 18px; /* Adjusted font size */
}

/* Connecting Lines SVG */
.trail-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.trail-path {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-dasharray: 10, 10;
    fill: none;
}

.trail-card {
    position: absolute;
    width: 220px; /* Adjusted width */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 18px; /* Adjusted padding */
    border-radius: 10px; /* Adjusted border-radius */
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    z-index: 5;
}

.trail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px; /* Adjusted margin */
}

.direction-badge {
    width: 32px; /* Adjusted size */
    height: 32px; /* Adjusted size */
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 13px; /* Adjusted font size */
    transition: 0.3s;
}

.trail-icon {
    font-size: 22px; /* Adjusted font size */
    color: #C17C5C;
    transition: 0.3s;
}

.trail-name {
    font-family: 'RusticSerif', serif;
    font-size: 18px; /* Adjusted font size */
    font-weight: bold;
    margin-bottom: 4px; /* Adjusted margin */
    transition: 0.3s;
}

.trail-desc {
    font-size: 13px; /* Adjusted font size */
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    transition: 0.3s;
}

/* Compass Positions (adjusted for fluid width) */
/* Center is 50%, 50% */
/* N */ .pos-n { top: 5%; left: 50%; transform: translateX(-50%); }
/* S */ .pos-s { bottom: 5%; left: 50%; transform: translateX(-50%); }
/* E */ .pos-e { right: 5%; top: 50%; transform: translateY(-50%); }
/* W */ .pos-w { left: 5%; top: 50%; transform: translateY(-50%); }

/* NE */ .pos-ne { top: 15%; right: 10%; }
/* NW */ .pos-nw { top: 15%; left: 10%; }
/* SE */ .pos-se { bottom: 15%; right: 10%; }
/* SW */ .pos-sw { bottom: 15%; left: 10%; }

@media (max-width: 768px) {
    .products-grid, .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Smaller min width for cards */
        gap: 20px;
    }

    .product-img, .room-img-wrapper {
        height: 200px; /* Smaller image height */
    }

    .product-name, .room-title {
        font-size: 20px;
    }

    .room-price {
        font-size: 14px;
        padding: 6px 12px;
    }

    .compass-wrapper {
        height: 600px; /* Smaller compass height */
    }

    .compass-center {
        width: 120px;
        height: 120px;
    }

    .compass-center i {
        font-size: 32px;
    }

    .compass-center span {
        font-size: 16px;
    }

.trail-card {
    position: absolute;
    width: 220px; /* Adjusted width */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 18px; /* Adjusted padding */
    border-radius: 10px; /* Adjusted border-radius */
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    z-index: 5;
}
}

@media (max-width: 480px) {
    .products-grid, .rooms-grid {
        grid-template-columns: 1fr; /* Stack cards on very small screens */
    }

    .product-img, .room-img-wrapper {
        height: 180px;
    }

    .compass-wrapper {
        height: 400px;
    }

    .compass-center {
        width: 100px;
        height: 100px;
    }

    .compass-center i {
        font-size: 28px;
    }

    .compass-center span {
        font-size: 14px;
    }

    .trail-card {
        width: 150px;
        padding: 12px;
    }

    .trail-name {
        font-size: 14px;
    }

    .trail-desc {
        font-size: 11px;
    }
}


/* Contact Footer */
.contact-section {
    background-color: #221B14;
    color: #aaa;
    padding: 80px 0 40px; /* Adjusted padding */
    border-top: 6px solid #C17C5C;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 40px; /* Adjusted gap */
}

.footer-brand h3 {
    color: #fff;
    font-family: 'RusticSerif', serif;
    font-size: 28px; /* Adjusted font size */
    margin-bottom: 15px; /* Adjusted margin */
}

.footer-brand p {
    margin-bottom: 25px; /* Adjusted margin */
    max-width: 300px;
    font-size: 0.95rem; /* Ensure readability */
}

.social-icons a {
    display: inline-flex;
    width: 36px; /* Adjusted size */
    height: 36px; /* Adjusted size */
    background: #332A20;
    color: #fff;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 8px; /* Adjusted margin */
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #C17C5C;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px; /* Adjusted margin */
    font-size: 18px; /* Adjusted font size */
    font-family: 'ModernSerif', serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px; /* Adjusted margin */
    display: flex;
    align-items: start;
    gap: 8px; /* Adjusted gap */
    font-size: 0.9rem; /* Ensure readability */
}

.footer-col li i {
    color: #C17C5C;
    margin-top: 4px;
}

.copyright {
    text-align: center;
    margin-top: 60px; /* Adjusted margin */
    padding-top: 30px; /* Adjusted padding */
    border-top: 1px solid #332A20;
    font-size: 13px; /* Adjusted font size */
}

/* New Contact Section */
.new-contact-section {
    background-color: #F4F1EA;
    padding: 80px 0; /* Adjusted padding */
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Adjusted gap */
    align-items: flex-start;
}

.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%; /* Ensure map is fluid */
    height: 400px; /* Adjusted height */
}

.contact-form-wrapper {
    background: #fff;
    padding: 30px; /* Adjusted padding */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-wrapper h3 {
    font-size: 28px; /* Adjusted font size */
    margin-bottom: 25px; /* Adjusted margin */
    color: #2C241B;
    font-family: 'ModernSerif', serif;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 18px; /* Adjusted margin */
}

.contact-form label {
    display: block;
    font-size: 15px; /* Adjusted font size */
    color: #5D534A;
    margin-bottom: 6px; /* Adjusted margin */
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px; /* Adjusted padding */
    border: 1px solid #E8DCC4;
    border-radius: 8px;
    font-family: 'CleanSans', sans-serif;
    font-size: 15px; /* Adjusted font size */
    color: #4A3B2C;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #C17C5C;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-submit {
    display: block;
    width: 100%;
    padding: 12px; /* Adjusted padding */
    background-color: #C17C5C;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px; /* Adjusted font size */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 25px; /* Adjusted margin */
}

.contact-form .btn-submit:hover {
    background-color: #A86A4F;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-content-grid {
        grid-template-columns: 1fr; /* Stack map and form */
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand h3 {
        font-size: 24px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-col li {
        font-size: 0.8rem;
    }

    .copyright {
        font-size: 12px;
    }

    .contact-map iframe {
        height: 300px;
    }

    .contact-form-wrapper h3 {
        font-size: 22px;
    }

    .contact-form label,
    .contact-form input,
    .contact-form textarea,
    .contact-form .btn-submit {
        font-size: 14px;
        padding: 10px;
    }
}

/* Animații suplimentare pentru performanță */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Corecții pentru browser-uri vechi */
@supports not (backdrop-filter: blur(15px)) {
    .hero-content-panel {
        background: var(--background-light);
    }
    
    header {
        background: var(--glass-bg);
    }
}

/* Event Services Section Styles */
.event-services {
    background-color: var(--background-light);
    padding: 80px 0;
}

.event-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.event-service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.event-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.event-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-service-card .service-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-service-card .service-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-service-card .service-info p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-service-card .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Social Media Icons Styling */
.social-links .facebook-icon {
    background-color: #3b5998; /* Facebook blue */
}

.social-links .instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram gradient */
}

.social-links .whatsapp-icon {
    background-color: #25d366; /* WhatsApp green */
}

/* Ensure icons inside these links are white */
.social-links .social-icon i {
    color: var(--white);
}

/* Responsive adjustments for Candybar Services Section */
@media (max-width: 992px) {
    .candybar-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .candybar-text {
        max-width: 100%; /* Allow text to take full width */
    }

    .candybar-text ul {
        padding-left: 0;
        text-align: left; /* Align list items to the left */
        display: inline-block; /* To center the block of list items */
    }

    .candybar-text ul li {
        text-align: left;
    }

    .candybar-image {
        flex: none; /* Remove flex property for image on small screens */
        width: 80%; /* Adjust image width */
        max-width: 500px; /* Max width for image */
    }
}

@media (max-width: 576px) {
    .candybar-text h2 {
        font-size: 2rem;
    }

    .candybar-text p,
    .candybar-text ul li {
        font-size: 0.95rem;
    }

    .candybar-image {
        width: 95%; /* Further adjust image width for very small screens */
    }
}

/* Force disable all transitions, transforms, and animations for trail-card and its children */
.trail-card,
.trail-card *,
.trail-card:hover,
.trail-card:hover *,
.trail-card .direction-badge,
.trail-card:hover .direction-badge,
.trail-card .trail-icon,
.trail-card:hover .trail-icon,
.trail-card .trail-name,
.trail-card:hover .trail-name,
.trail-card .trail-desc,
.trail-card:hover .trail-desc {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}


/* New Mobile Navigation Styles */
.mobile-menu-overlay {
    position: fixed !important;
    inset: 0 !important; /* Shorthand for top, right, bottom, left: 0 */
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important; /* Hidden by default */
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    box-sizing: border-box !important;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important; /* Show when active */
}

.main-nav.mobile-nav {
    position: fixed !important; /* Changed to fixed to cover entire viewport */
    top: 0 !important;
    left: 100% !important; /* Hide off-screen to the right */
    width: 100vw !important; /* Full viewport width */
    height: 100vh !important; /* Full viewport height */
    background: var(--background-light) !important; /* Lighter background for the menu content */
    display: none !important; /* Hidden by default */
    flex-direction: column;
    justify-content: flex-start; /* Align items to the top */
    align-items: flex-start; /* Align items to the left */
    padding: 60px 20px !important; /* Add padding */
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: left 0.4s ease-in-out; /* Simplified transition */
    z-index: 1001 !important;
    overflow-y: auto; /* Allow scrolling if content is long */
    box-sizing: border-box !important; /* Include padding in width/height calculation */
}

.main-nav.mobile-nav.active {
    left: 0 !important; /* Slide into view */
    display: flex !important; /* Show when active */
}

.main-nav.mobile-nav .close-menu {
    position: fixed !important; /* Changed to fixed to stay in viewport */
    top: 20px !important;
    right: 20px !important;
    font-size: 2rem !important;
    background: none !important;
    border: none !important;
    color: var(--text-dark) !important;
    cursor: pointer !important;
    z-index: 1002 !important;
    display: block !important; /* Ensure the close button is always visible when the mobile nav is active */
}

.main-nav.mobile-nav .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    text-align: left;
}

.main-nav.mobile-nav .nav-links li {
    width: 100%;
}

.main-nav.mobile-nav a {
    color: var(--text-dark); /* Darker text for better contrast on light background */
    font-size: 20px;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1); /* Separator for links */
}

.main-nav.mobile-nav a:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Hide desktop nav elements on mobile */
@media (max-width: 800px) {
    .main-nav:not(.mobile-nav) {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* Ensure desktop nav elements are visible on desktop */
@media (min-width: 801px) {
    .mobile-menu-overlay,
    .main-nav.mobile-nav {
        display: none !important;
    }
    .menu-toggle {
        display: none;
    }
    .main-nav { /* Re-enable desktop nav */
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: none;
        transform: translateX(0);
        flex-direction: row;
        padding: 0;
    }
}
