/* Avobase Premium Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #1e3f20;
    --primary-light: #2c5e30;
    --accent: #a3c9a8;
    --accent-glow: rgba(163, 201, 168, 0.3);
    --bg-cream: #faf9f5;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-dark: #122214;
    --text-dark: #1f2e22;
    --text-muted: #536b58;
    --text-light: #f3f7f4;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 var(--radius) var(--radius);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 63, 32, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8.5rem 2rem 5rem 2rem;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(163, 201, 168, 0.15) 0%, rgba(250, 249, 245, 0) 60%);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag {
    display: inline-block;
    background: rgba(163, 201, 168, 0.25);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(30, 63, 32, 0.05);
    transform: translateY(-2px);
}

.hero-image-container {
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-img-bg {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: var(--accent);
    border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
    animation: blob-animate 12s infinite alternate ease-in-out;
}

.hero-img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    z-index: 2;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-cream);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Features Section */
.features {
    padding: 7rem 2rem;
    background-color: #f2efe6;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    border-color: transparent;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(30, 63, 32, 0.05);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    background: var(--primary);
    color: var(--text-light);
    transform: rotate(6deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Highlights / Callout Section */
.callout {
    padding: 7rem 2rem;
    background: linear-gradient(rgba(18, 34, 20, 0.96), rgba(18, 34, 20, 0.96)), url('https://images.unsplash.com/photo-1523049673857-eb18f1d7b578?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    color: var(--text-light);
}

.callout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.callout-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.callout-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.75;
}

/* Contact / Subscription Section */
.contact {
    padding: 7rem 2rem;
    background: radial-gradient(circle at 10% 90%, rgba(163, 201, 168, 0.12) 0%, rgba(250, 249, 245, 0) 50%);
}

.contact-card {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 4.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-card h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(30, 63, 32, 0.2);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background: #ffffff;
}

.form-btn {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.form-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 63, 32, 0.2);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1) rotate(2deg);
    }
}

@keyframes blob-animate {
    0% {
        border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
    }
    100% {
        border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    }
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .callout-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-btn {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
