/* RCFSunset Premium Light Theme */

:root {
    --color-primary: #005eaa; /* Rotary Blue */
    --color-secondary: #f7a81b; /* Rotary Gold */
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-background: #ffffff;
    --color-surface: #f8fafc;
    --color-border: #e2e8f0;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s ease;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

body {
    font-family: var(--font-secondary) !important;
    background-color: var(--color-background) !important;
    color: var(--color-text-main) !important;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary) !important;
    font-weight: 700;
    color: var(--color-text-main);
}

/* Hide default Elementor headers */
header.site-header, footer.site-footer, .elementor-location-header, .elementor-location-footer {
    display: none !important;
}

.elementor-kit-6 {
    background-color: transparent !important;
}

/* -------------------------------------------
   GLOBAL HEADER (RESPONSIVE)
   ------------------------------------------- */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-logo {
    text-decoration: none;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

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

.modern-btn {
    background: var(--color-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.modern-btn:hover {
    background: #004580;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.header-spacer {
    height: 80px;
}

body.admin-bar .modern-header {
    top: 32px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

body.admin-bar .mobile-nav-drawer {
    top: 32px;
    height: calc(100vh - 32px);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 992px) {
    .desktop-nav, .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
}

/* -------------------------------------------
   WIDGET STYLES 
   ------------------------------------------- */

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Widget */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
    background: var(--color-surface);
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-primary);
}
.text-gradient {
    color: var(--color-secondary);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}
.hero-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image-card img {
    width: 100%;
    display: block;
}

/* Page Header Widget */
.page-header {
    padding: 8rem 2rem 5rem;
    text-align: center;
    position: relative;
    background: var(--color-primary);
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 94, 170, 0.85); /* Overlay */
    z-index: 1;
}
.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}
.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* About Block */
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}
.about-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Projects Grid Widget */
.project-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.project-category {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--color-secondary);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .page-title {
        font-size: 2.5rem;
    }
}
