/* ====================================
   1. GLOBAL RESET & BASE STYLES <!--Comment to force update-->
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background-color: #000;
    color: gold;
    line-height: 1.6;
}

/* ====================================
   2. LAYOUT & CONTAINERS
   ==================================== */
.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
            hsl(49deg 100% 69%) 0%,
            hsl(36deg 84% 64%) 4%,
            hsl(24deg 72% 58%) 9%,
            hsl(11deg 63% 53%) 13%,
            hsl(359deg 60% 48%) 17%,
            hsl(346deg 64% 43%) 21%,
            hsl(334deg 68% 39%) 26%,
            hsl(321deg 73% 34%) 30%,
            hsl(309deg 77% 30%) 34%,
            hsl(296deg 83% 26%) 38%,
            hsl(284deg 88% 22%) 42%,
            hsl(271deg 94% 19%) 47%,
            hsl(259deg 100% 15%) 51%,
            hsl(252deg 98% 17%) 55%,
            hsl(246deg 96% 18%) 59%,
            hsl(240deg 94% 20%) 63%,
            hsl(233deg 93% 22%) 67%,
            hsl(227deg 91% 23%) 71%,
            hsl(221deg 89% 25%) 75%,
            hsl(214deg 87% 27%) 79%,
            hsl(208deg 86% 29%) 83%,
            hsl(202deg 84% 30%) 88%,
            hsl(196deg 82% 32%) 92%,
            hsl(189deg 81% 34%) 96%,
            hsl(183deg 79% 36%) 100%);
}

/* ====================================
   3. NAVIGATION
   ==================================== */
.nav-grid {
    display: grid;
    grid-template-columns: max-content auto max-content;
    align-items: center;
    background: linear-gradient(to bottom,
            rgba(37, 87, 214, 0.85) 20%,
            rgba(11, 36, 158, 0.85) 60%,
            rgba(1, 9, 47, 0.9) 100%);
    padding: 2px 25px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-left ul,
.nav-right ul {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 3px;
    margin: 4px;
}

.nav-left ul {
    justify-content: flex-start;
}

.nav-right ul {
    justify-content: flex-end;
}

.nav-grid ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    padding: 12px;
    letter-spacing: 4px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-grid ul li a:hover {
    background-color: #000;
}

.logo {
    height: 120px;
    max-width: 500px;
    object-fit: contain;
}

/* Responsive Nav */
@media (max-width: 600px) {
    .nav-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 5px 0;
    }

    .nav-left ul,
    .nav-right ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-grid ul li a {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* ====================================
   4. HERO SECTION (Home)
   ==================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    z-index: 1;
}

.slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 30px 35px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform: translateY(100px);
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.hero-content a {
    display: inline-block;
    padding: 10px 30px;
    background: #ffd700;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 35px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-content a:hover {
    background: #fff;
    transform: scale(1.05);
}

/* ====================================
   5. SERVICES SECTION (services.html) — RESTORED
   ==================================== */
.services {
    padding: 50px;
    text-align: center;
    font-size: 2.5rem;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-items: center;
    max-width: 1200px;
    margin: 60px auto;
}

.service-item {
    position: relative;
    width: 75%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.service-item h3 {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Responsive Services */
@media (max-width: 900px) {
    .service-item {
        width: 90%;
    }
}

.packages {
    background: linear-gradient(45deg,
            hsl(49deg 100% 69%) 0%,
            hsl(35deg 99% 65%) 2%,
            hsl(23deg 88% 62%) 5%,
            hsl(8deg 70% 59%) 10%,
            hsl(348deg 56% 49%) 15%,
            hsl(330deg 81% 34%) 21%,
            hsl(313deg 100% 22%) 28%,
            hsl(282deg 100% 16%) 36%,
            hsl(234deg 84% 19%) 44%,
            hsl(219deg 100% 22%) 52%,
            hsl(212deg 100% 25%) 60%,
            hsl(206deg 100% 28%) 69%,
            hsl(194deg 100% 31%) 85%,
            hsl(188deg 100% 31%) 93%,
            hsl(183deg 79% 36%) 100%);
    color: #fff;
    padding: 100px 10%;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.packages h1 {
    font-size: 4.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 10px;
    margin: 40px 0 30px;
}

.packages h2 {
    font-size: 1.7rem;
    letter-spacing: 4px;
    margin-bottom: 80px;
    position: relative;
}

.packages h2::after {
    content: "";
    width: 120px;
    height: 3px;
    background: gold;
    display: block;
    margin: 20px auto 0;
    border-radius: 3px;
}

.package-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.package-item {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    padding: 40px;
    transition: all 0.4s ease;
}

.package-item:hover {
    transform: scale(1.03);
    border-color: gold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.package-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.package-text {
    flex: 1;
    text-align: left;
}

.package-text h3 {
    font-family: 'Playfair Display', serif;
    color: gold;
    font-size: 2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    letter-spacing: 1px;
}

.package-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fdfdfd;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.package-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.package-image img {
    width: 100%;
    max-width: 350px;
    height: 90%;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Alternate layout automatically */
.package-item:nth-child(even) .package-content {
    flex-direction: row-reverse;
}

/* Video styling (matches image style) */
.package-image video {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}



/* ====================================
   7. TEMPLATES SECTION (templates.html) — Placeholder
   ==================================== */
.templates {
    padding: 100px 10%;
    text-align: center;
    background: #111;
    color: #fff;
}

.templates h1 {
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: gold;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.template-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.template-card:hover {
    transform: translateY(-10px);
}

.template-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.template-card h3 {
    padding: 20px;
    color: gold;
    font-size: 1.5rem;
}

/* ====================================
   8. PRICING SECTION (pricing.html)
   ==================================== */
.pricing {
    background: linear-gradient(40deg,
            hsl(267deg 100% 7%) 1%,
            hsl(292deg 93% 18%) 37%,
            hsl(317deg 85% 29%) 45%,
            hsl(341deg 77% 40%) 49%,
            hsl(11deg 74% 51%) 50%,
            hsl(58deg 81% 64%) 51%,
            hsl(104deg 88% 77%) 51%,
            hsl(151deg 96% 90%) 50%,
            hsl(182deg 96% 89%) 50%,
            hsl(197deg 85% 76%) 49%,
            hsl(212deg 75% 63%) 49%,
            hsl(227deg 64% 49%) 50%,
            hsl(232deg 64% 38%) 51%,
            hsl(233deg 66% 26%) 55%,
            hsl(234deg 69% 15%) 63%,
            hsl(236deg 70% 4%) 99%);
    color: #fff;
    padding: 80px 10%;
    text-align: center;
    font-family: 'Playfair Display', sans-serif;
}

.pricing h3 {
    font-size: 4.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 10px;
    margin: 20px 0 60px;
}

.pricing-table {
    max-width: 2100px;
    margin: 100px auto;
    padding: 10px 30px;
    font-family: 'Poppins', sans-serif;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #fff;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    color: #fff;
}

.pricing-table th {
    background: rgba(0, 0, 0, 0.4);
    color: gold;
    text-align: center;
    padding: 18px;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #fff;
}

.pricing-table td {
    border: 1px solid #fff;
    padding: 10px;
    vertical-align: top;
    font-size: 1.2rem;
    line-height: 1.7;
}

.pricing-table .price-row td {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    color: gold;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.pricing-table strong {
    color: gold;
}

.pricing-table small {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 6px;
}

.pricing-table th,
.pricing-table td {
    width: 25%;
}

.pricing-table td[colspan="3"] {
    width: 75%;
}

/* ====================================
   9. CONTACT SECTION (contact.html)
   ==================================== */
.contact-cta {
    padding: 100px 10%;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.contact-item {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    padding: 60px 40px;
    transition: all 0.4s ease;
}

.contact-item:hover {
    border-color: gold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.contact-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: gold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    position: relative;
}

.contact-item h2::after {
    content: "";
    width: 100px;
    height: 3px;
    background: gold;
    display: block;
    margin: 20px auto 0;
    border-radius: 3px;
}

.contact-item p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #fdfdfd;
    margin: 25px auto 40px;
    max-width: 650px;
}

.contact-cta a {
    display: inline-block;
    padding: 14px 35px;
    background: gold;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-cta a:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin: 15px 0;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 6px #fff;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: gold;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #fff;
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-item {
        padding: 40px 20px;
    }

    .contact-item h2 {
        font-size: 2.2rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    .input-row {
        flex-direction: column;
    }
}

/* ====================================
   10. FOOTER
   ==================================== */
.footer {
    background-color: #000;
    color: #fff;
    font-family: Georgia, serif;
    width: 100vw;
    margin: 0;
}

.footer-container {
    background: linear-gradient(to bottom,
            rgba(37, 87, 214, 0.85) 20%,
            rgba(11, 36, 158, 0.85) 60%,
            rgba(16, 29, 96, 0.9) 100%);
    padding: 20px 10%;
    text-align: center;
}

.footer-logo h2 {
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 17px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.footer-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.footer-bottom {
    background-color: #000;
    padding: 18px 5%;
    font-size: 12px;
    color: #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: row;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ====================================
   11. UNIVERSAL RESPONSIVE TUNING
   ==================================== */

/* General responsiveness adjustments */
@media (max-width: 1200px) {
    body {
        font-size: 95%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .package-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .package-text {
        text-align: center;
    }

    .package-image img,
    .package-image video {
        max-width: 80%;
        height: auto;
    }

    .service-item {
        width: 95%;
        padding: 30px 20px;
    }

    .services {
        padding: 40px 20px;
    }

    .packages {
        padding: 60px 5%;
    }

    .pricing-table th,
    .pricing-table td {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 450px;
        padding: 20px 25px;
    }
}

/* Mobile-first optimization */
@media (max-width: 768px) {
    body {
        font-size: 90%;
        line-height: 1.5;
    }

    .hero {
        height: 70vh;
    }

    .hero-content {
        max-width: 90%;
        padding: 20px;
        transform: translateY(40px);
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content a {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .package-items {
        gap: 20px;
    }

    .package-item {
        padding: 25px 20px;
    }

    .package-text h3 {
        font-size: 1.5rem;
    }

    .package-text p {
        font-size: 1rem;
    }

    .package-image img,
    .package-image video {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .service-items {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services {
        font-size: 1.8rem;
    }

    .pricing h3 {
        font-size: 2rem;
    }

    .pricing-table table {
        font-size: 0.7rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 4px;
    }

    .contact-item {
        padding: 25px 15px;
    }

    .contact-item h2 {
        font-size: 1.8rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .contact-cta a {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .footer-container {
        padding: 15px 5%;
    }

    .footer-logo h2 {
        font-size: 15px;
    }

    .footer-info {
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        font-size: 11px;
    }
}

/* Very small screens (phones under 480px wide) */
@media (max-width: 480px) {
    body {
        font-size: 85%;
    }

    .hero {
        height: 60vh;
    }

    .hero-content {
        max-width: 95%;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content a {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .service-item h3 {
        font-size: 1.4rem;
    }

    .package-text h3 {
        font-size: 1.3rem;
    }

    .package-text p {
        font-size: 0.9rem;
    }

    .package-image img,
    .package-image video {
        max-width: 90%;
    }

    .contact-item h2 {
        font-size: 1.6rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .footer-logo h2 {
        font-size: 14px;
    }
}