/* ==========================================================================
   Seragamchic - Custom CSS Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg: #FAF7F2;
    --color-bg-blob: #F3ECE2;
    --color-text-main: #2A2A28;
    --color-text-muted: #62605C;
    --color-primary: #1B3F32;
    --color-primary-hover: #122B22;
    --color-accent-gold: #DFB15B;
    --color-accent-gold-light: #F4E5CB;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20BA5A;
    --color-card-bg: rgba(255, 255, 255, 0.8);
    --color-card-border: rgba(27, 63, 50, 0.08);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(27, 63, 50, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(27, 63, 50, 0.08), 0 4px 6px -4px rgba(27, 63, 50, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(27, 63, 50, 0.1), 0 8px 10px -6px rgba(27, 63, 50, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Background Blob Decorations
   ========================================================================== */

.background-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.circle-1 {
    width: 40vw;
    height: 40vw;
    background-color: var(--color-bg-blob);
    top: -10vw;
    right: -10vw;
}

.circle-2 {
    width: 35vw;
    height: 35vw;
    background-color: var(--color-accent-gold-light);
    bottom: -5vw;
    left: -10vw;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}

/* ==========================================================================
   Header Component
   ========================================================================== */

.header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    font-style: italic;
    color: var(--color-accent-gold);
    font-weight: 400;
    margin-left: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(27, 63, 50, 0.05);
    border: 1px solid var(--color-card-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge i {
    color: var(--color-accent-gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

/* CTA Container & WhatsApp Button */
.cta-container {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cta-container:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 0.95rem;
    color: var(--color-text-main);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background-color: var(--color-whatsapp);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    animation: whatsapp-pulse 2s infinite;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    transform: scale(1.02);
}

.btn-whatsapp:active {
    transform: scale(0.98);
}

.btn-whatsapp i {
    font-size: 1.6rem;
}

/* Image Visual Component */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-border-effect {
    position: relative;
    border-radius: 24px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(27, 63, 50, 0.05), rgba(223, 177, 91, 0.15));
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.image-border-effect:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 4rem 0 6rem;
    text-align: center;
}

.features-heading {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.features-subheading {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 63, 50, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: rgba(27, 63, 50, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-primary);
    color: var(--color-accent-gold);
    transform: rotate(5deg);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

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

/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(27, 63, 50, 0) 0%, rgba(27, 63, 50, 0.1) 50%, rgba(27, 63, 50, 0) 100%);
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(27, 63, 50, 0.02);
    border: 1px solid transparent;
}

.social-links a:hover {
    color: var(--color-primary);
    background-color: var(--color-card-bg);
    border-color: var(--color-card-border);
    transform: translateY(-2px);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
        padding-top: 1rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-wrapper {
        order: -1; /* Place image on top on tablet/mobile */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .features-section {
        padding-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-text {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .cta-container {
        padding: 1.5rem 1.25rem;
    }
    
    .btn-whatsapp {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}
