/* Global Styles */
:root {
    /* New Harmonic & Elegant Palette */
    --primary-color: #1e2124;
    /* Soft Charcoal Black */
    --secondary-color: #c8aa6e;
    /* Muted Champagne Gold */
    --secondary-hover: #b09050;
    --text-color: #e0e0e0;
    --text-muted: #888;
    --white: #ffffff;
    --light-bg: #f9f9f7;
    /* Warm Off-White */
    --dark-overlay: rgba(30, 33, 36, 0.7);

    --font-heading: 'Lato', sans-serif;
    --font-body: 'Lato', sans-serif;

    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #444;
    /* Softer text color for light bg */
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 0.5px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Navbar */
.navbar {
    background-color: rgba(30, 33, 36, 0.98);
    /* Matches primary color */
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 45px;
    margin-right: 12px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--white);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 6px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('img/logo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 33, 36, 0.85) 0%, rgba(30, 33, 36, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    height: 160px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 25px rgba(200, 170, 110, 0.2));
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-quote {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-style: italic;
    margin-bottom: 50px;
    font-weight: 300;
    color: #ccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--secondary-color);
    color: #1e2124;
    font-weight: 700;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* About Us Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    position: relative;
    padding-left: 0;
}

.about-icon-wrapper {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
}

/* Locations Section */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.location-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.location-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.location-card .card-content {
    padding: 35px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.location-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.location-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Map Button Style */
.map-link {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.map-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Gallery Section */
.bg-light {
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    height: 300px;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Packages Section */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.package-card {
    background-color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 40px;
    transition: all var(--transition-speed) ease;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.package-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    background-color: rgba(200, 170, 110, 0.15);
    /* Adjusted for new gold */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-type {
    display: inline-block;
    background-color: #f0f0f0;
    color: #777;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.package-features {
    flex-grow: 1;
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}

.package-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.package-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.btn-card {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.btn-card:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Featured Prevision Plan Styles */
.featured-prevision {
    background: linear-gradient(135deg, #2c3035 0%, #1e2124 100%);
    /* Softer dark gradient */
    color: var(--white);
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    z-index: 10;
}

.featured-prevision:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(200, 170, 110, 0.25);
}

.featured-prevision .package-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.featured-prevision h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.featured-prevision .service-type {
    background-color: var(--secondary-color);
    color: #1e2124;
}

.featured-prevision .package-features li {
    color: #ddd;
}

.featured-prevision .package-icon {
    background-color: rgba(200, 170, 110, 0.2);
    color: var(--secondary-color);
}

.prevision-desc {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ccc;
    font-style: italic;
}

.btn-prevision {
    background-color: var(--secondary-color);
    color: #1e2124;
    border-color: var(--secondary-color);
    width: 100%;
}

.btn-prevision:hover {
    background-color: #b09050;
    color: #fff;
    border-color: #b09050;
}

/* Contact Section */
.bg-dark {
    background-color: #1e2124;
    /* Updated to primary color */
    color: var(--white);
    position: relative;
}

.text-white {
    color: var(--white);
}

.section-title.text-white {
    color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.phone-number a {
    color: var(--white);
    border-bottom: 1px solid transparent;
}

.phone-number a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.mt-4 {
    margin-top: 2.5rem;
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.8;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-container h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    background-color: #151719;
    /* Darker than primary */
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #2a2d30;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .featured-prevision {
        transform: none;
        grid-column: 1 / -1;
    }

    .featured-prevision:hover {
        transform: translateY(-10px);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(30, 33, 36, 0.98);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        height: calc(100vh - 70px);
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info,
    .contact-form-container {
        width: 100%;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .contact-info h3,
    .contact-form-container h3 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-logo {
        height: 120px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .map-link {
        width: 100%;
        text-align: center;
    }
}