:root {
    /* Cosmic Palette */
    --color-primary-bg: #1a0b2e; /* Deep Purple */
    --color-cosmic-blue: #2d1b4e;
    --color-hot-pink: #ff007f;
    --color-bright-cyan: #00ffff;
    --color-starry-white: #f8f9fa;
    --color-text-main: #e0e0e0;
    --color-overlay: rgba(0, 0, 0, 0.7);

    /* Fonts */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-primary-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-starry-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(26, 11, 46, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-hot-pink);
    box-shadow: 0 0 15px var(--color-hot-pink);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    color: var(--color-bright-cyan);
}

/* Nav */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 1.1rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-hot-pink);
    text-shadow: 0 0 8px var(--color-hot-pink);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-starry-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) 2rem;
    min-height: 80vh;
    background: radial-gradient(circle at center, #2d1b4e 0%, #1a0b2e 100%);
    position: relative;
    overflow: hidden;
}

/* Twinkle Background Effect */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 4px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 20s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes twinkle {
    from { transform: translateY(0); }
    to { transform: translateY(-550px); }
}

.hero-content {
    flex: 1;
    z-index: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--color-bright-cyan);
    text-shadow: 2px 2px 0px var(--color-hot-pink);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-starry-white);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-hot-pink);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.8);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 400px;
    border-radius: 20px;
    border: 4px solid var(--color-bright-cyan);
    box-shadow: 0 0 30px var(--color-cosmic-blue);
    transform: rotate(2deg);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    color: var(--color-hot-pink);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.star-1 { top: -20px; right: 50px; animation-delay: 0s; color: var(--color-bright-cyan); }
.star-2 { bottom: 20px; left: 20px; animation-delay: 2s; }
.planet-1 { top: 50%; right: -30px; font-size: 3rem; animation-delay: 1s; color: purple; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Sections */
.section {
    padding: var(--spacing-lg) 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-bright-cyan);
    border-bottom: 2px dashed var(--color-hot-pink);
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Default center for titles etc */
}

/* About */
.about-section {
    background-color: var(--color-cosmic-blue);
}

.about-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services */
.services-section {
    background-color: var(--color-primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 127, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-hot-pink);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-bright-cyan);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-hot-pink);
}

/* Gallery */
.gallery-section {
    background-color: var(--color-cosmic-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item.placeholder {
    background: linear-gradient(45deg, var(--color-hot-pink), var(--color-cosmic-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item.placeholder::after {
    content: "Cosmic Moment";
    color: rgba(255,255,255,0.5);
    font-family: var(--font-heading);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-primary-bg);
    padding: var(--spacing-lg) 2rem;
}

.testimonial-container blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-starry-white);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-container cite {
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--color-hot-pink);
    font-style: normal;
    font-weight: bold;
}

/* Contact */
.contact-section {
    background: linear-gradient(to top, #000, var(--color-cosmic-blue));
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--color-bright-cyan);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-starry-white);
}

.social-links a:hover {
    color: var(--color-hot-pink);
}

/* Footer */
.main-footer {
    padding: 2rem;
    text-align: center;
    background-color: #000;
    color: #666;
    border-top: 1px solid #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(26, 11, 46, 0.98);
        padding: 1rem;
        flex-direction: column;
        border-bottom: 2px solid var(--color-hot-pink);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-section {
        flex-direction: column-reverse; /* Image on top on mobile, or bottom? detailed requirements didn't specify, standard is stack */
        text-align: center;
        padding-top: 2rem;
    }

    .hero-image-container {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-text {
        text-align: center; /* Center align about text on mobile for better flow */
    }
}
