/* Modern Cannabis Brand Website Styles */

/* Self-Hosted Fonts */
@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/Space Grotesk Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/Space Grotesk Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/Space Grotesk Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/Space Grotesk SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/Space Grotesk Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sarina';
    src: url('assets/fonts/Sarina.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cotton';
    src: url('assets/fonts/Cotton-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Aggressive border removal for persistent blue line issue */
html::before, body::before, *[style*="border"], *[style*="outline"] {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-top: none;
    border: none;
    outline: none;
    box-shadow: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Modern CSS Variables - Plant Nerd Brand Colors */
:root {
    --sky-blue: #4FB0EA; /* Sky Blue - PMS 2190 C */
    --bright-blue: #005DF7; /* Bright Blue - PMS 2387 C */
    --white: #F7F7F7; /* White */
    --black: #000000; /* Black - PMS Black 6 C */
    --neon-blue: #00DEFF; /* Neon Blue - PMS 311 C */
    
    /* Primary brand colors */
    --primary-color: var(--bright-blue); /* Bright Blue as primary */
    --secondary-color: var(--sky-blue); /* Sky Blue as secondary */
    --accent-color: var(--neon-blue); /* Neon Blue as accent */
    --text-primary: var(--white); /* White text */
    --text-secondary: var(--sky-blue); /* Sky Blue for secondary text */
    --background-primary: var(--black); /* Black background */
    --background-secondary: #333333; /* 30% lighter dark gray background */
    --border-color: var(--sky-blue); /* Sky Blue borders */
    --shadow-light: 0 2px 8px rgba(79, 176, 234, 0.2); /* Sky Blue shadow */
    --shadow-medium: 0 4px 16px rgba(79, 176, 234, 0.3); /* Sky Blue shadow */
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Custom Stylized Title Font */
.hero h1 {
    font-family: 'Sarina', cursive;
    font-style: normal;
    font-weight: 400;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(79, 176, 234, 0.3);
    letter-spacing: 0.05em;
    transform: none;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(79, 176, 234, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(79, 176, 234, 0.6), 0 0 40px rgba(0, 222, 255, 0.4);
    }
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Unified Page Title Styles */
.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 1.0);
    -webkit-text-stroke: 1px var(--border-color);
    transition: var(--transition);
}

.page-title:hover {
    -webkit-text-stroke: 1px var(--primary-color);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 1.0), 0 0 10px rgba(79, 176, 234, 0.5);
}

/* Global Background Pattern - Base */
body {
    background-color: var(--background-secondary);
    background-size: 100px 100px;
    background-repeat: repeat;
    background-position: 0 0;
    background-attachment: fixed;
}

/* Page-specific background patterns */
body.strains-page {
    background-image: url('assets/Graphicpattern_1.svg');
}

body.products-page {
    background-image: url('assets/Graphicpattern_2.svg');
}

body.merch-page {
    background-image: url('assets/Graphicpattern_3.svg');
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Modern Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding-left: 2rem;
    max-width: none;
    width: 100vw;
}

/* Modern Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-primary);
    z-index: 1000;
    transition: var(--transition);
    border: none;
    outline: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 0;
    border: none;
    outline: none;
    box-shadow: none;
    margin: 0;
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-54%);
    text-decoration: none;
    transition: var(--transition);
    z-index: 1001;
}

.logo-image {
    height: 200px;
    width: auto;
    filter: none;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 15px rgba(123, 179, 240, 0.5));
}

.nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Cotton', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(123, 179, 240, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

.nav-link:hover::after {
    width: 100%;
}

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('assets/hero_image.jpg') center/cover;
    color: white;
    position: relative;
    border: none;
    outline: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: none;
    margin: 0;
    width: 100%;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        4px 4px 8px rgba(0, 0, 0, 0.8),
        6px 6px 12px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(79, 176, 234, 0.6);
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Page Header Section (for child pages) */
.page-header {
    background: var(--background-primary);
    padding: 6rem 0 4rem 0;
    border-bottom: 1px solid var(--border-color);
    border-top: none;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-header h1 {
    font-family: 'Sarina', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(79, 176, 234, 0.3);
    letter-spacing: 0.05em;
    transform: none;
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(0, 93, 247, 0.3);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(79, 176, 234, 0.5), var(--shadow-medium);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--background-primary);
    box-shadow: 0 0 25px rgba(247, 247, 247, 0.3);
}

/* Modern Sections */
.section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
}

.section::before {
    content: none;
}

.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.1);
    pointer-events: none;
}

.section-alt {
    background: transparent;
    position: relative;
}

.section-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-content .btn {
    margin-top: 3rem;
    display: inline-block;
}

/* Modern Grid */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

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

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

/* Modern Cards */
.card {
    background: linear-gradient(145deg, var(--background-secondary) 0%, #0a0a0a 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Modern Footer */
.footer {
    background: var(--background-primary);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}



.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-family: 'Cotton', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000;
    transition: var(--transition);
}

/* Desktop - hide hamburger menu */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* Mobile menu overlay (new JavaScript-based system) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 99999;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5rem 2rem 2rem 2rem;
    gap: 2rem;
}

/* Mobile menu open state (legacy - keeping for compatibility) */
.nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 9999;
    padding: 5rem 2rem 2rem 2rem;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    opacity: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav.mobile-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: -1;
    opacity: 1;
}

.nav.mobile-open::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: -2;
    opacity: 1;
}

/* Mobile overlay navigation links */
.mobile-menu-overlay .nav-link {
    font-size: 1.8rem;
    padding: 1rem 0;
    border-bottom: 1px solid transparent;
    width: auto;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Cotton', sans-serif;
    font-weight: 400;
    transition: var(--transition);
    margin: 0 auto;
    position: relative;
}

.mobile-menu-overlay .nav-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(79, 176, 234, 0.4);
    border-bottom: 1px solid rgba(247, 247, 247, 0.3);
}

/* Mobile menu close button */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Cotton', sans-serif;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100000;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--accent-color);
}

.nav.mobile-open .nav-link {
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Account for fixed header */
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
        margin-top: -80px; /* Compensate for body padding */
    }
    
    .page-header {
        padding: 3rem 0 2rem 0;
    }
    
    .page-header h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .about-image {
        margin: 2rem 0;
    }
    
    .merch-image img {
        height: 200px;
    }
    
    .section {
        padding: 5rem 0 3rem 0;
    }
    
    .section-alt {
        padding: 5rem 0 3rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Additional Modern Styles */
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Enhanced Card Styles */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--sky-blue));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--sky-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Unified Grid System for Products, Merch, and Strains */
.items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Unified Card System */
.item-card {
    background: var(--background-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

/* Unified Image System */
.item-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

/* Unified Info System */
.item-info {
    padding: 1.5rem;
    text-align: center;
}

.item-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 768px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section .container {
        max-width: 1200px;
        width: 1200px;
    }
    
    .section .section-content {
        max-width: none;
        width: 100%;
    }
}



.featured-strain {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.featured-strain:hover {
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
}

.strain-featured {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0.5rem 0 0 0;
}



/* About Page Image */
.about-image {
    margin: 3rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Merch Images */
.merch-image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

/* Image container backgrounds to prevent white flash */
.items-grid .item-image {
    background: #000000;
}

.merch-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.merch-image:hover img {
    transform: scale(1.05);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Modern Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

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

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero {
        text-align: center;
        padding: 4rem 0;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    

    

    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Dark Mode Support */
/* Removed dark mode override to maintain pure black background */

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .back-to-top {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: var(--black);
        --secondary-color: var(--black);
        --accent-color: var(--bright-blue);
        --text-primary: var(--black);
        --text-secondary: var(--black);
        --border-color: var(--black);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.social-link:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--sky-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-blue);
} 