/*
Theme Name: ФРОДИ ДИЗАЈН
Description: Елегантна translucent тема за градежни фирми - Block Editor compatible
Author: ФРОДИ ДИЗАЈН
Version: 2.0.0
Text Domain: frodi-design
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/**
 * SIMPLIFIED STYLE.CSS - FRODI DESIGN
 * Само slideshow + WordPress content
 */

/* ====================================
   GLOBAL STYLES
   ==================================== */
/* ====================================
   NAVIGATION MENU - FORCE STYLES
   ==================================== */

/* Header container */
/* DIRECT KEN BURNS - MUST WORK */
/*
Theme Name: ФРОДИ ДИЗАЈН
Description: Елегантна translucent тема
Author: ФРОДИ ДИЗАЈН
Version: 2.0.0
*/

/* KEN BURNS ON HOVER */
img {
    transition: transform 0.3s ease;
    transform-origin: center;
}

img:hover {
    animation: kenBurnsHover 8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes kenBurnsHover {
    0% { 
        transform: scale(1) translate(0, 0);
    }
    25% { 
        transform: scale(1.08) translate(-8px, -5px);
    }
    50% { 
        transform: scale(1.12) translate(5px, -8px);
    }
    75% { 
        transform: scale(1.06) translate(-5px, 8px);
    }
    100% { 
        transform: scale(1) translate(0, 0);
    }
}

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

/* Menu horizontal layout */
.site-header .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 30px !important;
}

.site-header .nav-menu li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Menu links styled like site title */
.site-header .nav-menu a {
    color: white !important;
    text-decoration: none !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: color 0.3s ease !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    display: block !important;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a:focus {
    color: #4facfe !important;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none !important;
}

/* Remove any WordPress default styles */
.site-header .nav-menu a:visited {
    color: white !important;
}

/* Mobile menu button */
.site-header .menu-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .site-header .menu-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .site-header .nav-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: rgba(30, 60, 114, 0.9) !important;
        padding: 20px !important;
        border-radius: 15px !important;
        margin-top: 15px !important;
        gap: 15px !important;
    }
    
    .site-header .nav-menu.active {
        display: flex !important;
    }
    
    .site-header .nav-menu a {
        font-size: 20px !important;
        text-align: center !important;
    }
}

.menu-icon {
    display: flex !important;
    flex-direction: column !important;
    width: 20px !important;
    height: 15px !important;
    justify-content: space-between !important;
}

.menu-icon span {
    display: block !important;
    height: 2px !important;
    width: 100% !important;
    background: white !important;
    border-radius: 1px !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ====================================
   BACKGROUND ANIMATION
   ==================================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(79, 172, 254, 0.1) 0%, 
        rgba(30, 60, 114, 0.05) 50%, 
        rgba(59, 130, 246, 0.1) 100%);
    z-index: -2;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: translateX(0) translateY(0); 
        opacity: 1;
    }
    25% { 
        transform: translateX(-20px) translateY(-20px); 
        opacity: 0.8;
    }
    50% { 
        transform: translateX(20px) translateY(-10px); 
        opacity: 0.9;
    }
    75% { 
        transform: translateX(-10px) translateY(20px); 
        opacity: 0.7;
    }
}

/* ====================================
   FLOATING ELEMENTS
   ==================================== */

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: float1 15s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation: float2 20s ease-in-out infinite reverse;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    width: 80px;
    height: 80px;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(30px) translateY(-20px) rotate(120deg); }
    66% { transform: translateX(-20px) translateY(20px) rotate(240deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(40px) rotate(-180deg); }
}

/* ====================================
   GLASS EFFECT
   ==================================== */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ====================================
   HEADER STYLES
   ==================================== */

header.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #4facfe;
}

/* ====================================
   HERO SECTION WITH SLIDESHOW
   ==================================== */

.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

/* Slideshow Container */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.slide.active { 
    opacity: 1; 
    z-index: 2;
}

/* Default gradient backgrounds (fallback when no images) */
.slide.default-bg-1 {
    background: linear-gradient(135deg, #8B7355 0%, #D4C4A8 25%, #F5F5DC 50%, #E6D7C5 75%, #DEB887 100%);
}

.slide.default-bg-2 {
    background: linear-gradient(180deg, #4A90A4 0%, #87CEEB 20%, #B0C4DE 40%, #E0E6E8 60%, #708090 80%, #2F4F4F 100%);
}

.slide.default-bg-3 {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 25%, #90EE90 50%, #98FB98 75%, #F0FFF0 100%);
}

.slide.default-bg-4 {
    background: linear-gradient(45deg, #8B4513 0%, #CD853F 25%, #DEB887 50%, #F4A460 75%, #FFEFD5 100%);
}

/* Overlay effect (will be overridden by dynamic CSS) */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(30, 60, 114, 0.4) 0%, 
        rgba(42, 82, 152, 0.3) 50%, 
        rgba(79, 172, 254, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev { 
    left: 30px; 
}

.nav-next { 
    right: 30px; 
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 60px 40px;
    animation: fadeInUp 1s ease;
    color: white;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background: rgba(79, 172, 254, 0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.cta-button:hover {
    background: rgba(79, 172, 254, 1);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

/* ====================================
   WORDPRESS CONTENT AREA
   ==================================== */

.site-main {
    padding-top: 50px;
    padding-bottom: 50px;
}

.wp-block-group.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.entry-content {
    line-height: 1.8;
    color: #333;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1e3c72;
    margin-bottom: 20px;
    margin-top: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child {
    margin-top: 0;
}

.entry-content p {
    margin-bottom: 20px;
    color: #555;
}

.entry-content a {
    color: #4facfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* ====================================
   WORDPRESS BLOCK EDITOR COMPATIBILITY
   ==================================== */

.wp-block {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group {
    padding: 2rem;
    margin-bottom: 2rem;
}

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.wp-block-column {
    flex: 1;
    min-width: 300px;
}

/* WordPress Block Overrides */
.wp-block-heading {
    color: #1e3c72;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.wp-block-paragraph {
    color: #555;
    line-height: 1.6;
}

/* Styled blocks for better appearance */
.wp-block-quote {
    border-left: 4px solid #4facfe;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.wp-block-code {
    background: rgba(30, 60, 114, 0.1);
    padding: 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    color: #1e3c72;
}

.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4facfe 50%, transparent 100%);
    margin: 40px 0;
}

/* Images in content */
.wp-block-image img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.wp-block-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Gallery */
.wp-block-gallery {
    gap: 15px;
}

.wp-block-gallery .wp-block-image {
    border-radius: 15px;
    overflow: hidden;
}

/* ====================================
   BACK TO TOP BUTTON
   ==================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(79, 172, 254, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(79, 172, 254, 1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ====================================
   CONTACT MESSAGES
   ==================================== */

.contact-message {
    max-width: 600px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-message.success {
    background: rgba(76, 175, 80, 0.9);
    border: 2px solid rgba(76, 175, 80, 1);
    color: white;
}

.contact-message.error {
    background: rgba(244, 67, 54, 0.9);
    border: 2px solid rgba(244, 67, 54, 1);
    color: white;
}

.contact-message p {
    margin: 0;
    font-size: 1.1rem;
}

/* ====================================
   FOOTER STYLES
   ==================================== */

.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(30, 60, 114, 0.8);
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ====================================
   ADMIN BAR COMPATIBILITY
   ==================================== */

body.admin-bar .site-header {
    top: 52px;
}

body.admin-bar .contact-message {
    top: 72px;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .wp-block-column {
        min-width: auto;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    body.admin-bar .site-header {
        top: 66px;
    }
    
    body.admin-bar .contact-message {
        top: 86px;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title { 
        font-size: 2.5rem; 
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .slideshow-nav { 
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .nav-prev { 
        left: 15px; 
    }
    
    .nav-next { 
        right: 15px; 
    }
    
    .slideshow-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .contact-message {
        max-width: 90%;
        font-size: 0.9rem;
    }
    
    .floating-element {
        display: none; /* Hide on mobile for performance */
    }
    
    .wp-block-group.content-area {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .site-main {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .hero-title { 
        font-size: 2rem; 
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .slideshow-nav { 
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        width: 95%;
        padding: 10px 20px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .wp-block-group.content-area {
        padding: 30px 15px;
        margin: 15px;
    }
}

/* ====================================
   ACCESSIBILITY & PERFORMANCE
   ==================================== */

/* Performance optimizations */
.slide,
.floating-element,
.bg-animation {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .slide::before {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .slideshow-nav {
        background: rgba(0, 0, 0, 0.8);
        border-color: white;
    }
    
    .indicator {
        background: rgba(255, 255, 255, 0.8);
        border-color: white;
    }
    
    .glass {
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .slide {
        transition: opacity 0.3s ease;
    }
    
    .hero-content {
        animation: none;
    }
    
    .slideshow-nav,
    .indicator,
    .cta-button {
        transition: none;
    }
    
    .bg-animation,
    .floating-element {
        animation: none;
    }
}

/* Focus styles for accessibility */
.slideshow-nav:focus,
.indicator:focus,
.cta-button:focus,
.back-to-top:focus {
    outline: 3px solid #4facfe;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .slideshow-container,
    .slideshow-nav,
    .slideshow-indicators,
    .floating-elements,
    .bg-animation,
    .back-to-top {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
        padding: 50px 20px;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
/* ====================================
   NAVIGATION MENU STYLES - MATCHED STYLE
   ==================================== */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding {
    flex: 0 0 auto;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Menu matched to FRODI DESIGN style */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold; /* Same as site-title */
    font-size: 18px; /* Slightly smaller than site-title but still prominent */
    padding: 8px 16px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Same text-shadow as site-title */
    background: rgba(255, 255, 255, 0.05); /* Subtle glass background */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: rgba(255, 255, 255, 0.15); /* More prominent glass effect */
    color: #4facfe; /* Same hover color as site-title */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Current page styling */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.3);
}

/* Mobile menu button styled like menu items */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    align-items: center;
    gap: 10px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #4facfe;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 16px;
    height: 12px;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-text {
    font-size: 14px;
    font-weight: bold;
}

/* Dropdown menus */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 180px;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 5px;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    margin: 2px 8px;
}

/* ====================================
   NAVIGATION MENU - IDENTICAL TO SITE TITLE
   ==================================== */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding {
    flex: 0 0 auto;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Menu styled EXACTLY like site-title */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px; /* Space between menu items */
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    /* EXACT SAME STYLES AS .site-title a */
    color: white;
    text-decoration: none;
    font-size: 24px; /* Same size as site-title */
    font-weight: bold; /* Same weight as site-title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Exact same shadow */
    transition: color 0.3s ease; /* Same transition */
    
    /* NO background, NO border, NO padding - just pure text */
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
    /* EXACT SAME HOVER as .site-title a:hover */
    color: #4facfe;
    
    /* Remove any extra effects */
    background: none;
    transform: none;
    box-shadow: none;
    border: none;
}

/* Current page - just different color, no other effects */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #4facfe;
}

/* Mobile menu button - styled like site title */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: color 0.3s ease;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.menu-toggle:hover {
    color: #4facfe;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 15px;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-text {
    font-size: 20px;
    font-weight: bold;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */

@media screen and (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .site-branding {
        flex: 1;
    }
    
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        text-align: center;
        
        /* Simple mobile container */
        background: rgba(30, 60, 114, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        font-size: 20px; /* Slightly smaller on mobile */
    }
}

@media screen and (max-width: 480px) {
    .nav-menu a {
        font-size: 18px;
    }
    
    .menu-text {
        font-size: 18px;
    }
    
    .site-title {
        font-size: 20px; /* Also reduce site title on very small screens */
    }
}