/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', 'Playfair Display', Georgia, serif;
    background: linear-gradient(135deg, #0a0a23, #1a1a3e, #2a2a5f);
    color: #f0e6ff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
    background: rgba(42, 27, 61, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

/* Header Content */
.header-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Hamburger Menu */
.menu-toggle {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    background: linear-gradient(90deg, #d4a017, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.3);
    display: none;
}

.menu-toggle:hover {
    transform: scale(1.2) rotate(90deg);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(42, 27, 61, 0.98);
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
    transform: translateY(0);
    opacity: 1;
}

.nav-menu a {
    text-decoration: none;
    font-size: 1.4em;
    font-family: 'Cinzel', 'Montserrat', sans-serif;
    font-weight: 600;
    background: linear-gradient(90deg, #d4a017, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-menu a:hover {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(42, 27, 61, 0.8), rgba(26, 26, 62, 0.8)), url('/homepage-galaxy.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo {
    height: auto;
    max-width: 100%;
    width: 250px;
    object-fit: contain;
    margin: 0 auto 20px;
    animation: float 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 2em;
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin: 10px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.4em;
    margin: 15px 0;
    max-width: 700px;
    font-family: 'Poppins', sans-serif;
    color: #e6e6fa;
    animation: fadeInUp 1.2s ease-out;
}

.hero-image {
    max-width: 100%;
    height: auto;
    width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: fadeZoomIn 1.5s ease-out;
}

.section-image {
    max-width: 100%;
    height: auto;
    width: 350px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: fadeZoomIn 1.5s ease-out;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(45deg, #d4a017, #b8860b);
    color: #2a1b3d;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.3em;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.7);
    font-family: 'Cinzel', sans-serif;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.cta-button:hover {
    background: linear-gradient(45deg, #b8860b, #a67a00);
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(255, 215, 0, 0.9);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::after {
    width: 150%;
    height: 150%;
}

/* Section Styles */
.section {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title, .brand-title, .brand-highlight, .testimonial-author {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

/* Welcome Section */
.welcome {
    background: rgba(47, 47, 79, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
}

.brand-text {
    font-size: 1.2em;
    margin: 15px 0;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e6e6fa;
    font-family: 'Poppins', sans-serif;
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.testimonial-card {
    background: rgba(60, 47, 90, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Service Card */
.service-card {
    background: rgba(47, 47, 79, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Blog List */
.blog-list {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

.blog-list li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.blog-list li:hover {
    transform: translateX(5px);
}

.blog-list li:before {
    content: "✨";
    color: #d4af37;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Contact Form */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(26, 26, 62, 0.9);
    color: #f0e6ff;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #d4a017;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Social Links */
.social-link {
    text-decoration: none;
    font-size: 1.4em;
    font-family: 'Cinzel', sans-serif;
    background: linear-gradient(90deg, #d4a017, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    margin: 0 15px;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
}

.quick-links-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.quick-links-nav a {
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Cinzel', sans-serif;
    background: linear-gradient(90deg, #d4a017, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 5px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.quick-links-nav a:hover {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* Footer */
footer {
    background: rgba(42, 27, 61, 0.95);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

footer a {
    color: #e6e6fa;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #d4a017;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes fadeZoomIn {
    from { transform: scale(1.1); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

/* Media Queries */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(42, 27, 61, 0.98);
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        border-radius: 0 0 10px 10px;
        transform: translateY(-20px);
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    .nav-menu a {
        font-size: 1.5em;
        text-align: center;
    }
    .hero {
        padding: 80px 15px;
        min-height: 70vh;
    }
    .hero-logo {
        width: 200px;
    }
    .hero-subtitle {
        font-size: 1.6em;
    }
    .hero-description {
        font-size: 1.1em;
    }
    .hero-image, .section-image {
        width: 300px;
    }
}