/* Import Modern Rebel Font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* General Styles */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --menu-color: #4CAF50;
    --menu-text-color: #ffffff; /* Dynamically set to black or white */
    --footer-color: var(--menu-color);
    --scrollbar-color: var(--menu-color);
    --accent-font: 'Orbitron', monospace;
    --body-font: 'Rajdhani', sans-serif;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.5s ease;
    font-size: 16px;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--accent-font);
    font-weight: 700;
    letter-spacing: 1px;
}

h1 {
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-title, .section-title {
    font-family: var(--accent-font);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* NEW DISCRETE HEADER SYSTEM */

/* Logo - Independent Floating Element - In Front of Line */
.discrete-logo, .logo-link {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 103; /* Higher than header bar to appear in front */
    display: block;
    width: 80px;
    height: 80px;
    cursor: pointer;
    text-decoration: none;
}

.discrete-logo .logo, .logo-link .logo, .logo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--menu-color); /* Now matches the menu bar color */
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discrete-logo:hover .logo, .logo-link:hover .logo {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Full-Width Header Bar with Right-Aligned Menu - Perfectly Centered with Logo */
.full-width-header, header {
    position: fixed;
    top: 25px; /* Logo center is at 55px (15+40), so bar from 25px to 85px centers at 55px */
    left: 0;
    width: 100%;
    height: 60px; /* Increased height for better visual balance */
    background: var(--menu-color);
    z-index: 101; /* Behind logo */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding-left: 0; /* Override old padding */
}

.header-menu, .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--accent-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.header-menu a, .nav-menu a {
    text-decoration: none;
    color: var(--menu-text-color);
    padding: 18px 20px; /* Increased padding to match the taller bar */
    transition: all 0.3s ease;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
    position: relative;
}

.header-menu a:last-child, .nav-menu a:last-child {
    border-right: none;
}

.header-menu a:hover, .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-menu a.active, .nav-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 700;
}

.header-menu a.active::after, .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--menu-text-color);
}

/* Main Content */
.index-container {
    padding-top: 20px; /* Updated for new header */
    padding-bottom: 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding: 40px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 40px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--menu-color);
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-button.primary {
    background-color: var(--menu-color);
    color: var(--menu-text-color);
}

.cta-button.primary:hover {
    background-color: transparent;
    color: var(--menu-color);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--menu-color);
}

.cta-button.secondary:hover {
    background-color: var(--menu-color);
    color: var(--menu-text-color);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background-color: var(--menu-color);
    top: 20%;
    left: 60%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background-color: var(--text-color);
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background-color: var(--menu-color);
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
}

.section-title i {
    color: var(--menu-color);
    font-size: 1.8rem;
}

/* Latest Updates */
.latest-updates {
    margin-bottom: 80px;
}

.updates-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding: 0 40px;
}

.update-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.update-card.featured {
    border-color: var(--menu-color);
}

.update-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--menu-color);
    color: var(--menu-text-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.update-date {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.read-more {
    color: var(--menu-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--text-color);
}

/* Mediums Preview */
.mediums-preview {
    margin-bottom: 80px;
}

.mediums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 0 40px;
}

.medium-preview {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.medium-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.medium-image {
    height: 250px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 15px;
    transition: border-color 0.3s ease;
}

.medium-preview:hover .medium-image {
    border-color: var(--menu-color);
}

.medium-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-color);
}

.medium-placeholder i {
    font-size: 3rem;
    color: var(--menu-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.medium-preview:hover .medium-placeholder i {
    transform: scale(1.1);
}

.medium-placeholder h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.medium-placeholder p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mediums-cta {
    text-align: center;
    margin-top: 30px;
    padding: 0 40px;
}

/* Blog Preview */
.recent-blog {
    margin-bottom: 80px;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 40px;
}

.blog-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--menu-color);
}

.blog-date {
    font-size: 0.9rem;
    color: var(--menu-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-preview h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.blog-preview p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Artist Statement */
.artist-statement {
    margin-bottom: 80px;
    padding: 0 40px;
}

.statement-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-statement blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-color);
    margin: 30px 0;
    position: relative;
}

.artist-statement blockquote::before,
.artist-statement blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--menu-color);
    opacity: 0.3;
    position: absolute;
    font-family: var(--accent-font);
}

.artist-statement blockquote::before {
    top: -10px;
    left: -20px;
}

.artist-statement blockquote::after {
    bottom: -30px;
    right: -20px;
}

.statement-signature {
    margin-top: 30px;
}

.statement-signature p {
    font-size: 1.1rem;
    color: var(--menu-color);
    font-family: var(--accent-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
/* SIMPLIFIED FOOTER - Legal and Copyright Only */
footer {
    width: 100%;
    padding: 10px 5px;
    text-align: center;
    background-color: var(--footer-color);
    color: var(--menu-text-color);
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--menu-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.footer-links a:hover {
    opacity: 1;
    border-color: var(--menu-text-color);
}

.footer-legal {
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-legal p {
    margin: 5px 0;
    font-family: var(--body-font);
}

.footer-legal p:first-child {
    font-weight: 600;
    font-family: var(--accent-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-legal {
        font-size: 0.75rem;
    }
}
/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-color);
    border-radius: 6px;
    border: 2px solid var(--bg-color);
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--menu-color);
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
    border-radius: 6px;
}

::-webkit-scrollbar-corner {
    background-color: var(--bg-color);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-color) var(--bg-color);
}

/* PAGE-SPECIFIC CONTAINERS - Updated for new header */
.about-container, .gallery-container, .blog-container, .contacts-container {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Gallery specific styles */
.cloud-gallery-container {
    min-height: 100vh;
    padding: 120px 20px 80px 20px;
    background: var(--bg-color);
    position: relative;
    overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
        width: 100%;
    }
    
    .header-menu, .nav-menu {
        font-size: 0.7rem;
    }
    
    .header-menu a, .nav-menu a {
        padding: 15px 10px;
    }
    
    .index-container, .about-container, .gallery-container, .blog-container, .contacts-container {
        padding: 120px 15px 80px 15px;
    }

    .updates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .mediums-grid,
    .blog-preview-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .mediums-cta,
    .artist-statement {
        padding: 0 20px;
    }
    
    .statement-content {
        padding: 30px 20px;
    }
    
    .artist-statement blockquote {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }
}