﻿/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
:root {
    --purple: #5d2b86;
    --purple-dark: #3d1a5c;
    --purple-deep: #16081f;
    --purple-soft: #7a3fb5;
    --lime: #b8e234;
    --gold: #d4af37;
    --black: #111111;
    --white: #ffffff;
    --text: #1a1a1a;
    --muted: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================
   HEADER
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--purple-deep);
    padding: 8px 50px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(22, 8, 31, 0.35);
}

.logo {
    justify-self: start;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    max-height: 84px;
    width: auto;
    display: block;
    background: transparent;
    border-radius: 8px;
}

.header-nav {
    display: contents;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-self: center;
    grid-column: 2;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--lime);
}

.divider {
    color: var(--white);
    opacity: 0.35;
    font-size: 16px;
}

.header-actions {
    display: flex;
    gap: 18px;
    justify-self: end;
    grid-column: 3;
}

.header-actions a {
    text-decoration: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.header-actions a:hover {
    color: var(--lime);
}

/* =========================================
   SECTION BASE
   ========================================= */
section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* =========================================
   HERO
   ========================================= */
.hero-section {
    background: var(--purple-deep);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(93, 43, 134, 0.42) 0%, rgba(22, 8, 31, 0.58) 100%);
    z-index: 1;
}

.bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform-origin: center center;
    animation: zoomin 20s ease-in forwards;
}

@keyframes zoomin {
    0% {
        transform: scale(0);
        filter: blur(100px);
        opacity: 0;
    }
    5% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 6px solid var(--purple);
    padding: 36px 32px;
    text-align: center;
    max-width: 920px;
    width: min(90%, 920px);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 14px;
}

.hero-card h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 4.6vmin, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--purple-deep);
    margin-bottom: 16px;
    text-transform: none;
}

.hero-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #333;
    max-width: 720px;
    margin: 0 auto 24px;
}

.button-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    background: var(--purple);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 5px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    background: var(--lime);
    color: var(--purple-deep);
}

/* =========================================
   SERVICES â€” 3 COLUMN HOVER
   ========================================= */
.services-section {
    padding: 0;
    align-items: stretch;
}

.services-bg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: background-image 0.4s linear;
    animation: servicesimages 20s infinite;
}

@keyframes servicesimages {
    0% { background-size: 100% 100%; }
    50% { background-size: 120% 120%; }
    100% { background-size: 100% 100%; }
}

.service-col {
    position: relative;
    overflow: hidden;
    text-align: left;
    border-right: 2px solid #fff;
    cursor: pointer;
}

.service-col:last-child {
    border-right: none;
}

.service-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(93, 43, 134, 0) 0%, rgba(255, 255, 255, 0.96) 100%);
    transition: height 0.2s linear, background 0.2s linear;
}

.service-col:hover .service-overlay,
.service-col.show .service-overlay {
    height: 100%;
    background: linear-gradient(180deg, rgba(93, 43, 134, 0.28) 0%, #fff 100%);
}

.service-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 60px 48px;
    color: #000;
}

.service-mobile-img {
    display: none;
}

.service-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 2.1vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--purple);
}

.ser-para {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.55;
}

.service-col:hover .ser-para,
.service-col.show .ser-para {
    visibility: visible;
    height: auto;
    overflow: auto;
}

.service-more {
    display: none;
}

/* =========================================
   ABOUT
   ========================================= */
.about-section {
    background: #fff;
    padding: 120px 50px 50px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
}

.about-wrap {
    width: min(1200px, 100%);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    border-bottom: 6px solid var(--purple);
}

.about-copy h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--purple);
}

.about-copy p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.about-copy .btn {
    margin-top: 8px;
}

.about-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.about-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #ccc;
    cursor: pointer;
}

.about-dots button.is-active {
    background: var(--purple);
}

/* =========================================
   GALLERY SLIDER
   ========================================= */
.gallery-section {
    background: #f4eef8;
    padding: 0;
    align-items: stretch;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 90px;
    cursor: grab;
    user-select: none;
}

.gallery-slider:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 24px;
    will-change: transform;
}

.gallery-item {
    position: relative;
    flex: 0 0 62vw;
    height: min(620px, 78%);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.85);
    filter: blur(10px);
    opacity: 1;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item.is-selected img {
    transform: scale(1);
    filter: none;
}

.gallery-nav {
    position: absolute;
    top: calc(50% + 45px);
    z-index: 6;
    width: 52px;
    height: 52px;
    border: 0;
    background: var(--purple);
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev {
    left: 18px;
}

.gallery-next {
    right: 18px;
}

.gallery-nav:hover {
    background: var(--lime);
    color: var(--purple-deep);
}

/* =========================================
   VIDEO
   ========================================= */
.video-section {
    background: var(--purple-deep);
    padding: 90px 40px 40px;
}

.video-link {
    width: min(900px, 90%);
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.play-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    padding-left: 4px;
    box-shadow: 0 0 0 8px rgba(93, 43, 134, 0.28);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-section {
    background: #fff;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 104px 0 0;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

.contact-wrap {
    width: min(1100px, calc(100% - 80px));
    margin: 0 auto;
    padding: 32px 0 40px;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.site-footer {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 16px 20px 18px;
    border-top: 1px solid rgba(184, 226, 52, 0.2);
    background: var(--purple-deep);
    font-size: 14px;
    color: #ccc;
    z-index: 1;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}

.footer-logo img {
    height: 56px;
    width: auto;
    display: block;
    margin: 0 auto;
    background: transparent;
    border-radius: 8px;
}

.site-footer p {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

.site-footer a {
    color: var(--lime);
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-info h2,
.contact-form h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    color: var(--purple);
    margin-bottom: 18px;
}

.map-wrap iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-phone,
.contact-email {
    display: block;
    margin-top: 12px;
    color: var(--purple);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--purple-soft);
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--purple);
}

.form-success {
    display: none;
    color: var(--purple);
    margin: 8px 0 14px;
}

.form-success.show {
    display: block;
}

.form-error {
    display: none;
    color: #b42318;
    margin: 8px 0 14px;
}

.form-error.show {
    display: block;
}

.contact-form .btn {
    position: relative;
    z-index: 3;
}

/* =========================================
   LIGHTBOX / VIDEO MODAL
   ========================================= */
.lightbox,
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox[hidden],
.video-modal[hidden] {
    display: none;
}

.lightbox img,
.video-modal iframe {
    max-width: 90vw;
    max-height: 85vh;
}

.video-modal iframe {
    width: min(900px, 90vw);
    height: min(506px, 56vw);
    border: 0;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* =========================================
   SIDE DOTS
   ========================================= */
.side-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--purple);
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--purple);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    header {
        padding: 8px 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--purple-deep);
        padding: 12px 20px 20px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 1000;
    }

    .header-nav.open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 14px 8px;
        color: var(--white);
    }

    .divider {
        display: none;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 8px;
        padding-top: 8px;
    }

    .header-actions a {
        text-align: center;
        padding: 10px;
        color: var(--lime);
    }

    .logo img {
        max-height: 64px;
    }

    .about-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .service-text {
        padding: 40px 28px;
    }
}

@media (max-width: 900px) {
    html {
        scroll-snap-type: none;
    }

    section {
        height: auto;
        min-height: 100svh;
        overflow: visible;
        scroll-snap-align: none;
        padding: 100px 16px 40px;
    }

    .hero-section {
        min-height: 100svh;
        overflow: hidden;
        padding: 100px 16px 40px;
    }

    .hero-card {
        width: min(94%, 560px);
        padding: 28px 18px;
    }

    .hero-card h1 {
        font-size: clamp(24px, 7.2vw, 36px);
        margin-bottom: 14px;
    }

    .hero-card p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .services-section {
        padding: 90px 0 0;
        min-height: 0;
    }

    .services-bg {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        height: auto;
        animation: none;
        background-image: none !important;
        overflow: visible;
    }

    .service-col {
        border-right: none;
        border-bottom: 1px solid #eee;
        min-height: auto;
        padding: 28px 18px 32px;
        width: 100%;
    }

    .service-overlay {
        display: none;
    }

    .service-text {
        position: relative;
        padding: 0;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .service-text h2 {
        font-size: 26px;
    }

    .service-mobile-img {
        display: block;
        margin-bottom: 16px;
        border-radius: 16px 16px 40px 16px;
        overflow: hidden;
    }

    .service-mobile-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .ser-para {
        visibility: visible;
        height: auto;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.3s linear, opacity 0.3s linear;
    }

    .service-col.show .ser-para {
        max-height: 800px;
        opacity: 1;
    }

    .service-more {
        display: block;
        margin-top: 10px;
        background: none;
        border: 0;
        font-weight: 700;
        cursor: pointer;
        padding: 8px 0;
        color: var(--purple);
        border-bottom: 2px solid var(--purple);
        width: fit-content;
    }

    .less-label {
        display: none;
    }

    .service-col.show .more-label {
        display: none;
    }

    .service-col.show .less-label {
        display: inline;
    }

    .about-section {
        padding: 100px 18px 48px;
        min-height: 0;
    }

    .about-wrap,
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .about-image img {
        max-height: 260px;
        width: 100%;
        object-fit: cover;
    }

    .about-copy h3 {
        font-size: 24px;
    }

    .gallery-section {
        min-height: 100svh;
        padding: 0;
        overflow: hidden;
    }

    .gallery-slider {
        padding-top: 90px;
    }

    .gallery-item {
        flex: 0 0 82vw;
        height: min(420px, 58vh);
    }

    .gallery-nav {
        width: 42px;
        height: 42px;
        font-size: 28px;
        top: 55%;
    }

    .video-section {
        padding: 100px 16px 40px;
        min-height: 0;
    }

    .play-icon {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .contact-section {
        padding: 88px 0 0;
        overflow: visible;
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .contact-wrap {
        width: calc(100% - 32px);
        padding: 20px 0 28px;
        gap: 24px;
    }

    .map-wrap iframe {
        height: 200px;
        width: 100%;
    }

    .contact-info h2,
    .contact-form h3 {
        font-size: 32px;
    }

    .contact-email {
        font-size: 15px;
    }

    .side-dots {
        right: 8px;
        gap: 10px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 6px 12px;
    }

    .logo img {
        max-height: 52px;
    }

    .hero-card {
        padding: 22px 14px;
    }

    .hero-card h1 br {
        display: none;
    }

    .hero-card h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-card p {
        font-size: 14px;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .gallery-item {
        flex: 0 0 88vw;
        height: min(320px, 46vh);
    }

    .service-text h2 {
        font-size: 22px;
    }

    .contact-phone,
    .contact-email {
        font-size: 14px;
    }

    .footer-logo img {
        height: 44px;
    }

    .side-dots {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .bg-image,
    .services-bg {
        animation: none;
    }

    .hero-card {
        opacity: 1;
        transform: none;
    }
}
