/*
Theme Name: Begusarai Dairy Theme
Theme URI: https://begusaraidairy.com/
Author: AI Assistant
Author URI: https://begusaraidairy.com/
Description: A premium, custom-built lightweight theme without page builders.
Version: 1.0.0
Text Domain: begusaraidairy
*/

:root {
    --primary-color: #0f4c81; /* Dairy Blue */
    --secondary-color: #e8f4f8; /* Light Blue/White */
    --accent-color: #ff9800; /* Warm Accent */
    --text-color: #333333;
    --text-muted: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f9f9f9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.site-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

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

.footer-widget h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: #cbd5e1;
}

.footer-widget a:hover {
    color: white;
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Page Layouts */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

/* Policy Pages Typography */
.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.policy-content p, .policy-content ul, .policy-content li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.policy-content ul {
    padding-left: 20px;
}

/* About & Contact Specifics */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Home Page Layout */
.hero-section {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    background: #0b3a63;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cow-img {
    position: absolute;
    z-index: 2;
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    mix-blend-mode: multiply;
    animation: float-cow 6s ease-in-out infinite;
}

@keyframes float-cow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #bbdefb, #e3f2fd);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.features-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.products-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
}

.cta-inner {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-inner h2 {
    color: white;
}

.cta-inner p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .main-navigation {
        display: none; /* simple fallback for now */
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-blob {
        width: 300px;
        height: 300px;
    }
}

/* Contact Form Styling */
.contact-form-styled {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin-top: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8fafc;
    color: var(--text-color);
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

