:root {
    --bg-dark: #000000;
    --bg-darker: #050505;
    --bg-card: rgba(15, 15, 15, 0.8);
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --gold: #d4af37;
    --gold-dim: #a68a2d;
    --gold-light: #f3df96;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.main-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.btn-primary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--gold);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 50px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg-dark.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Portrait & Badges */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.hero-portrait {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.badge {
    position: absolute;
    background: #ffffff;
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
}

.badge i {
    background: #000;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.badge-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-desc {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.badge-left-top { top: 20%; left: -10%; }
.badge-left-bottom { bottom: 30%; left: -20%; }
.badge-right-top { top: 30%; right: -15%; }

/* Hero Text */
.hero-text-content {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 15;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-headline span {
    color: var(--gold);
    font-style: italic;
}

.hero-tags {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hero-tags span {
    color: var(--text-light);
    margin: 0 5px;
}

/* About Section */
.about-section {
    background-color: var(--bg-darker);
    padding: 120px 0;
    /* Removed min-height 100vh so it flows into the next section naturally */
    display: flex;
    align-items: center;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 40px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

.trust-seal {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-seal i {
    color: #27ae60;
}

/* Services Section - Redesigned */
.services-section {
    background-color: var(--bg-dark);
    padding: 100px 0 120px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold-dim);
}

.section-label::before { left: -20px; }
.section-label::after { right: -20px; }

.section-description {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.9) 0%, rgba(8, 8, 8, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 35px 30px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.card-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
    transition: color 0.4s ease;
}

.service-card:hover .card-number {
    color: rgba(212, 175, 55, 0.25);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.4s ease;
}

.card-icon i {
    font-size: 20px;
    color: var(--gold);
}

.service-card:hover .card-icon {
    background: rgba(212, 175, 55, 0.15);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-line {
    width: 40px;
    height: 2px;
    background: var(--gold-dim);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.service-card:hover .card-line {
    width: 60px;
    opacity: 1;
    background: var(--gold);
}

/* Footer Section */
.main-footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-logo .oab-info {
    font-weight: 600;
    color: var(--text-light);
}

.footer-contact h4, .footer-address h4, .footer-social h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-contact p, .footer-address p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i, .footer-address i {
    margin-top: 3px;
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #666;
    font-size: 12px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Animations */
@keyframes revealBadge {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-badge {
    animation: revealBadge 0.8s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .badge-left-bottom { left: 0; }
    .badge-right-top { right: 0; }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header { padding: 15px 0; }
    .btn-primary { padding: 10px 18px; font-size: 12px; }

    .hero-section { padding-top: 80px; padding-bottom: 40px; }
    .hero-container { display: flex; flex-direction: column; }
    
    .hero-headline { 
        font-size: 28px; 
        line-height: 1.2; 
        margin-bottom: 25px;
        order: 1;
    }
    
    .hero-image-wrapper { 
        margin: 20px auto; 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        order: 2;
    }
    
    .hero-portrait {
        max-height: 50vh;
        width: 100%;
        border-radius: 15px;
    }

    .badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 320px;
        margin: 5px auto !important;
        opacity: 0; /* GSAP will animate */
        padding: 12px 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .hero-tags {
        order: 3;
        margin-top: 20px;
        font-size: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section { padding: 60px 0; }
    .about-container { gap: 40px; }
    .section-title { font-size: 42px; }
}
