/*
Theme Name: Stellar Lights Theme
Theme URI: http://localhost:10008
Author: Shailesh Garwal
Author URI: http://localhost:10008
Description: Custom theme for Stellar Lights
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stellarlights
Tags: custom, light, responsive
*/


html {
    scroll-behavior: smooth;
}

.content-section {
    padding: clamp(1rem, 4vw, 2rem);
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.main-content {
    position: relative;
    z-index: 2;
    padding: clamp(1rem, 4vw, 2rem);
    margin: 2rem auto;
    max-width: 1200px;
    width: 100%;
    border-radius: 8px;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom,
            #000000 0%,
            /* Pure black at the very top */
            #000000 30%,
            /* Stays black until 30% down */
            #111111 60%,
            /* Starts transitioning to dark gray */
            #1a1a1a 80%,
            /* Gets slightly lighter */
            #222222 100%
            /* Ends at a medium gray at the bottom */
        );
    color: white;
    font-family: 'Titillium Web', sans-serif;
    min-height: 100vh;
    background-size: 100% 100%;
    /* Covers full page */
    background-repeat: no-repeat;
    /* Prevents tiling */
    /* Remove background-attachment: fixed */
}

.carousel-section,
.gallery-section,
.cta-section {
    /* background-color: black; */
    position: relative;
    z-index: 1;
}

.site-main {
    background-color: transparent;
    color: white;
    padding: clamp(1rem, 4vw, 2rem);
    width: 100%;
    box-sizing: border-box;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

body {
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
}

html,
body,
a,
button,
input[type="submit"],
input[type="button"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 12 12"><circle cx="6" cy="6" r="6" fill="white"/></svg>') 6 6, auto !important;
}

html {
    scroll-behavior: auto !important;
}

body {
    scroll-behavior: auto !important;
}

html.loaded,
body.loaded {
    scroll-behavior: smooth;
}

html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: -1;
}

/* Global responsive fixes */
* {
    box-sizing: border-box;
}

/* Responsive container system */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.container-fluid {
    width: 100%;
    padding: 0 clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 clamp(1rem, 5vw, 2rem);
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 clamp(1rem, 6vw, 2rem);
    }
    
    .content-section,
    .main-content {
        padding: clamp(1rem, 5vw, 2rem);
        margin: 1.5rem auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 clamp(1rem, 7vw, 2rem);
    }
    
    .content-section,
    .main-content {
        padding: clamp(1rem, 6vw, 2rem);
        margin: 1rem auto;
    }
    
    .site-main {
        padding: clamp(1rem, 5vw, 2rem);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 clamp(1rem, 8vw, 2rem);
    }
    
    .content-section,
    .main-content {
        padding: clamp(1rem, 7vw, 2rem);
        margin: 0.5rem auto;
    }
    
    .site-main {
        padding: clamp(1rem, 6vw, 2rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 clamp(1rem, 10vw, 2rem);
    }
    
    .content-section,
    .main-content {
        padding: clamp(1rem, 8vw, 2rem);
    }
    
    .site-main {
        padding: clamp(1rem, 7vw, 2rem);
    }
}

/* Fix for left gap issues */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Ensure all sections are full width */
section, .section, .hero-section, .carousel-section, .gallery-section, .cta-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Fix for any remaining left gaps */
.main-content, .content-section, .site-main {
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}