/*
Theme Name: Kamyab Feeds Theme
Theme URI: http://localhost/kamyabfeeds/
Author: Antigravity
Author URI: https://google.com
Description: A premium, light-colored 'Under Construction' theme for Kamyab Feeds Mill.
Version: 1.0.0
Text Domain: kamyab-feeds
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #FAF9F6; /* Soft, warm light neutral background */
    color: #1F2421; /* Clean dark text for contrast */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Styling */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

.header-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Logo and brand name aligned left */
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.brand-link:hover {
    transform: translateY(-1px);
}

.header-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1F2421;
    text-transform: capitalize;
}

/* Main Landing Container */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 6rem 1.5rem 3rem 1.5rem; /* Padding top to avoid header overlap */
    text-align: center;
}

/* Rotating Logo Container */
.logo-container {
    position: relative;
    margin-bottom: 2.5rem;
}

.spinning-logo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 3px solid #FFFFFF;
    animation: spin 20s linear infinite; /* Smooth, continuous rotation */
    transition: transform 0.3s ease;
}

.logo-container:hover .spinning-logo {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Under Construction Styling */
.construction-status {
    max-width: 800px;
    width: 100%;
}

.construction-status h1 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1A1D1A;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.construction-status p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #555E56;
    margin-bottom: 2rem;
}

/* Accent Badge decoration */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: #EAE6DF;
    color: #4A504A;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Footer Info */
.site-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    color: #8C948D;
}

/* Keyframes for Rotating Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .site-header {
        padding: 0.85rem 1rem;
    }
    
    .header-container {
        justify-content: center; /* Center header elements on mobile for balanced visual weight */
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .spinning-logo {
        width: 160px;
        height: 160px;
    }
    
    .construction-status h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 5.5rem 1.25rem 2.5rem 1.25rem; /* Ensure appropriate spacing with fixed header */
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.75rem 0.75rem;
    }
    
    .brand-name {
        font-size: 1.125rem; /* Scale down brand title to fit in one line on small phones */
    }
    
    .header-logo {
        width: 34px;
        height: 34px;
        margin-right: 0.5rem;
    }
    
    .spinning-logo {
        width: 130px;
        height: 130px;
    }
    
    .construction-status h1 {
        font-size: 1.65rem;
    }
    
    .construction-status p {
        font-size: 0.95rem;
    }
    
    .main-content {
        padding: 4.5rem 1rem 2rem 1rem;
    }
}

/* Large Monitor Scaling (1440p, 4K, UltraWide) */
@media (min-width: 1440px) {
    .spinning-logo {
        width: 260px;
        height: 260px;
    }
    .header-container {
        padding: 0 1rem;
    }
}

@media (min-width: 1920px) {
    .spinning-logo {
        width: 300px;
        height: 300px;
    }
    .construction-status {
        max-width: 1000px;
    }
}

