/* ========== CSS VARIABLES ========== */
:root {
    /* Color Palette - Vibrant, Professional, Premium */
    --clr-primary: #D6A44B; /* Heritage Gold */
    --clr-primary-light: #E8C178;
    --clr-primary-dark: #B68636;
    
    --clr-bg: #F4F7F6; /* Light, clean slightly cool gray */
    --clr-bg-alt: #FFFFFF;
    
    --clr-slate: #2B3A42; /* Slate Blue-Grey */
    --clr-slate-dark: #1E282E;
    
    --clr-text-main: #333333;
    --clr-text-light: #666666;
    --clr-text-inverse: #FFFFFF;
    
    /* Layout */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 20px rgba(214, 164, 75, 0.4);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-slate-dark);
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-text-inverse);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(214, 164, 75, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-text-inverse);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background-color: var(--clr-text-inverse);
    color: var(--clr-slate-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-slate);
    border: 2px solid var(--clr-slate);
}

.btn-outline:hover {
    background-color: var(--clr-slate);
    color: var(--clr-text-inverse);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-slate-dark);
}

.logo ion-icon {
    font-size: 2rem;
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-slate);
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/images/hero.png') center/cover no-repeat;
    background-color: var(--clr-slate); /* fallback */
    padding-top: 80px;
}

/* Fallback background if image fails to load */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1518331165449-ac2ea024479e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,40,46,0.9) 0%, rgba(30,40,46,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-text-inverse);
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero .badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(214, 164, 75, 0.2);
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--clr-text-inverse);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.hero-trust .divider {
    width: 4px;
    height: 4px;
    background-color: var(--clr-primary);
    border-radius: 50%;
}

/* ========== SECTION UTILS ========== */
.services, .about, .contact {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--clr-primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
}

/* ========== SERVICES CARDS ========== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.card {
    background-color: var(--clr-bg-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    top: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem 2rem 2rem;
    position: relative;
}

.icon-wrapper {
    position: absolute;
    top: -25px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(214, 164, 75, 0.4);
    z-index: 2;
}

.icon-wrapper ion-icon {
    font-size: 1.8rem;
    color: var(--clr-text-inverse);
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--clr-slate-dark);
}

.card-content p {
    color: var(--clr-text-light);
}

/* ========== ABOUT SECTION ========== */
.about {
    background-color: var(--clr-slate);
    color: var(--clr-text-inverse);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--clr-text-inverse);
    font-size: 2.5rem;
}

.about-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list ion-icon {
    color: var(--clr-primary);
    font-size: 1.5rem;
}

.image-glass-border {
    position: relative;
    border-radius: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.image-glass-border img {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.about .btn-outline {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.about .btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-inverse);
}

/* ========== CONTACT SECTION ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--clr-bg-alt);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.contact-info {
    padding: 4rem;
    background: linear-gradient(135deg, var(--clr-slate-dark), var(--clr-slate));
    color: var(--clr-text-inverse);
}

.contact-info h2 {
    color: var(--clr-text-inverse);
    font-size: 2.2rem;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(214, 164, 75, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.5rem;
}

.info-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-text span, .info-text a {
    color: rgba(255,255,255,0.8);
}

.info-text .call-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-top: 0.5rem;
    display: block;
}

.contact-form {
    padding: 4rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--clr-slate-dark);
}

.input-group input, .input-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #F8FAFC;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: var(--clr-bg-alt);
    box-shadow: 0 0 0 4px rgba(214, 164, 75, 0.1);
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--clr-slate-dark);
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-text-inverse);
}

.footer-logo ion-icon {
    color: var(--clr-primary);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.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);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-grid.wrap-reverse > .about-image {
        grid-row: 1;
    }
    .about-grid.wrap-reverse > .about-text {
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-trust .divider {
        display: none;
    }
    .contact-info, .contact-form {
        padding: 2.5rem 1.5rem;
    }
}
