/* 
   AVANTI Consulting - Compact Light Theme 
   Colors: Beige/Cream Background, Gold Accent, Dark Gray Text
*/

:root {
    /* Light Theme Colors */
    --bg-primary: #F7F5F0;
    /* Soft beige/cream from logo background */
    --bg-secondary: #FFFFFF;
    /* White for cards */
    --bg-alt: #EFEBDF;
    /* Slightly darker beige for alternate sections */

    --accent-gold: #C2A05B;
    /* Muted gold from logo */
    --accent-gold-light: #D4B676;
    --accent-gold-dark: #A38242;

    --text-main: #2C3539;
    /* Dark gray/slate for readability */
    --text-muted: #6B7280;
    /* Medium gray */
    --text-light: #FFFFFF;
    /* White text for buttons/dark areas */

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(194, 160, 91, 0.2);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Variables - Compact */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px;
    /* Tighter radius */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    color: var(--accent-gold-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

.text-center {
    text-align: center;
}

/* Compact padding */
.section-padding {
    padding: 60px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.accent-text {
    color: var(--accent-gold);
}

/* Utilities */
.divider {
    height: 2px;
    width: 50px;
    background-color: var(--accent-gold);
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 10px rgba(194, 160, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(194, 160, 91, 0.4);
    color: var(--text-light);
}

/* Header */
.header {
    background-color: transparent;
    /* Seamless with body */
    padding: 20px 0 0 0;
}

.header-container {
    display: flex;
    justify-content: center;
}

.header-logo {
    max-height: 100px;
    /* Adjust based on exact logo size, keeps it prominent but compact */
    width: auto;
    object-fit: contain;
}

/* Glassmorphism Panel - Light Version */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Hero Section */
.hero {
    padding: 60px 0 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-primary);
    /* Same as body for seamless look */
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-slogan {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--accent-gold-dark);
    margin-bottom: 20px;
    font-weight: 400;
    font-family: var(--font-heading);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.about-text-box p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-value-box.highlight {
    background: var(--bg-secondary);
    border-color: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.about-value-box.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
}

.about-value-box h3 {
    color: var(--accent-gold-dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.about-value-box p {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(194, 160, 91, 0.1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(194, 160, 91, 0.1);
    color: var(--accent-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.service-card:hover .service-icon {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-dark);
    background: var(--bg-secondary);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.05) rotate(5deg);
    color: var(--accent-gold);
    box-shadow: 0 6px 15px rgba(194, 160, 91, 0.2);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer Section */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-item svg {
    color: var(--accent-gold-dark);
    width: 18px;
    height: 18px;
}

.footer-bottom {
    background-color: var(--bg-alt);
    padding: 15px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations & Interactivity */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}