@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #1F4529;      /* Deep Forest Green (Canada) */
    --primary-light: #2C613A;
    --secondary: #D96A2B;    /* Terracotta / Sunset (East Africa) */
    --secondary-hover: #BF5A21;
    --accent: #E5C07B;       /* Warm Sand/Gold */
    
    /* Neutrals */
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-main: #222222;
    --text-muted: #555555;
    --border-color: #E0E0E0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

/* Professional Section Headings */
.section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: var(--spacing-lg);
    font-size: 2.2rem;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 70px;
    background: var(--secondary);
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-bg-dark h2::after {
    background: var(--accent);
}

.section-bg-dark {
    background-color: var(--primary);
    color: var(--bg-white);
}

.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3, .section-bg-dark p {
    color: var(--bg-white);
}

.section-bg-dark p {
    opacity: 0.9;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* Header & Nav */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    border-radius: 4px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: var(--spacing-sm) 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero Section (Original, for all other pages) */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(31, 69, 41, 0.92) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: white;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}
.hero-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* Home Page Hero Overrides */
.hero-home {
    min-height: 75vh;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
    background-image: none !important; /* override inline image on hero if any */
}

.hero-home::before {
    display: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-wrapper iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 69, 41, 0.95) 0%, rgba(31, 69, 41, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-home .hero-container {
    position: relative;
    z-index: 10;
}

.hero-home .hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    background: rgba(229, 192, 123, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(229, 192, 123, 0.3);
    backdrop-filter: blur(5px);
}

.hero-home .hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-home .hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    max-width: 650px;
    font-weight: 300;
}

.hero-buttons {
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.footer-col .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-col .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-col .social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(5px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* Card Component */
.card {
    background: var(--bg-white);
    color: var(--text-main);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: var(--primary) !important;
}

.card p, .card ul, .card li {
    color: var(--text-muted) !important;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
}

.card-image-wrapper {
    margin: calc(var(--spacing-lg) * -1) calc(var(--spacing-lg) * -1) var(--spacing-lg);
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Two Column specific (Image + Text) */
.img-stack {
    position: relative;
    height: 100%;
    min-height: 550px;
}
.img-stack img {
    border-radius: var(--radius-lg);
    position: absolute;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}
.img-stack img:nth-child(1) {
    width: 85%;
    height: 400px;
    top: 0;
    left: 0;
    z-index: 1;
}
.img-stack img:nth-child(2) {
    width: 55%;
    height: 250px;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid var(--bg-light);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-col p, .footer-col a {
    color: #999;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #333;
}

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

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 3rem; }
    .hero-home .hero-content h1 { font-size: 4rem; }
    
    /* Make img-stack responsive */
    .img-stack { min-height: 400px; margin-bottom: 2rem; }
    .img-stack img:nth-child(1) { height: 300px; }
    .img-stack img:nth-child(2) { height: 200px; border-width: 8px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: flex;
        padding-left: 20px;
    }
    .nav-links li:hover .dropdown-menu {
        display: flex;
    }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; margin-bottom: var(--spacing-lg); }
    .hero-buttons .btn { width: 100%; }

    .hero-home .hero-content h1 { font-size: 3rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; padding-top: 20px; }
    .stat-divider { display: none; }
    .stat-item { flex-basis: 45%; }
    
    /* Further scale down img-stack for mobile phones */
    .img-stack { min-height: 280px; }
    .img-stack img:nth-child(1) { height: 220px; }
    .img-stack img:nth-child(2) { height: 140px; border-width: 5px; }
}

/* Utility Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(217, 106, 43, 0.1);
}

select.form-control {
    background-color: white;
}

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

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: white;
}

.fab svg {
    width: 36px;
    height: 36px;
    fill: #ffffff;
}

.fab-whatsapp {
    background-color: #25D366;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.fab-phone {
    background-color: var(--secondary);
}

/* Tooltips */
.fab::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
}

.fab:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 var(--spacing-lg);
    text-align: center;
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}
.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    background: var(--secondary);
}

/* Memories Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: var(--bg-white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-pin {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    text-align: center;
    z-index: 2;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-pin {
    transform: translateY(0);
    opacity: 1;
}

.pin-text {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff8a00 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 1.05rem;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 0.85;
}

/* Footer Button Override */
footer .btn-primary {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

footer .btn-primary:hover {
    background-color: var(--primary-light) !important;
    color: white !important;
}
