/* ========== CSS VARIABLES ========== */
:root {
    --primary-blue: #0F2F73;
    --secondary-blue: #2563EB;
    --accent-blue: #4F86F7;
    --light-blue: #7CB9FF;
    --bg-white: #F5F1ED;
    --bg-light: #FAFBFD;
    --bg-section: #F5F9FF;
    --bg-soft: #EAF3FF;
    --heading: #0F2F73;
    --paragraph: #374151;
    --light-text: #6B7280;
    --border: #E5E7EB;
    --btn: #2563EB;
    --btn-hover: #0F2F73;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 47, 115, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 47, 115, 0.12);
    --shadow-lg: 0 16px 40px rgba(15, 47, 115, 0.15);
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--paragraph);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue);
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== CONTAINER ========== */
.container {
    width: min(1400px, 92%);
    margin: 0 auto;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--heading);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--paragraph);
}

.accent-text {
    color: #6A3E3F;
    font-style: italic;
}

.arrow {
    display: inline-block;
    margin-left: 0.5rem;
    transition: var(--transition);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(245, 241, 237, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    box-shadow: none;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(15, 47, 115, 0.08);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: clamp(1rem, 3vw, 3rem);
}

/* ========== NAVBAR LOGO - FIXED ========== */
.navbar-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 0.75rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-logo a:hover {
    color: var(--secondary-blue);
}

.logo-img {
    max-width: 290px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition);
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--paragraph);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

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

.navbar-cta {
    display: none;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-blue);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-cta:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span {
    background: #F5F1ED;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.navbar-menu.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 47, 115, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
}

.navbar-menu.mobile-open .nav-link {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
}

.navbar-menu.mobile-open .nav-link::after {
    background: var(--light-blue);
}

/* Mobile/tablet navbar - keep hamburger visible */
@media (max-width: 1023px) {
    .navbar-content {
        justify-content: space-between;
    }

    .navbar-logo {
        flex-shrink: 1;
        min-width: 0;
        overflow: visible;
    }

    .logo-img {
        max-width: 180px;
        max-height: 70px;
    }

    .hamburger {
        flex-shrink: 0;
    }
}

/* Desktop navbar */
@media (min-width: 1024px) {
    .navbar-menu {
        display: flex !important;
        position: static;
        background: none;
        height: auto;
        width: auto;
        gap: 2.5rem;
    }

    .navbar-cta {
        display: block;
    }

    .hamburger {
        display: none;
    }

    .navbar-menu.mobile-open {
        display: flex;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 0;
    position: relative;
    width: 100%;
    height: clamp(50vh, 90vh, 90vh);
    overflow: hidden;
}

.hero-image-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: zoomIn 1.2s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.05);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

.hero-buttons-overlay {
    position: absolute;
    bottom: clamp(2rem, 8vh, 4rem);
    left: clamp(1.5rem, 5vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 10;
    animation: slideUpButtons 0.8s ease-out 0.3s both;
}

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

@media (max-width: 767px) {
    /* Show full hero image without cropping on mobile */
    .hero {
        height: auto;
    }

    .hero-img {
        height: auto;
        object-fit: contain;
        animation: zoomIn 1.2s ease-out;
    }

    .hero-buttons-overlay {
        flex-direction: column;
        bottom: clamp(1rem, 4vh, 2rem);
        left: clamp(1rem, 4vw, 2rem);
        right: auto;
    }

    .hero-buttons-overlay .btn {
        width: auto;
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Desktop: full viewport height */
@media (min-width: 1024px) {
    .hero {
        height: 100vh;
    }
}

/* ========== BUTTONS ========== */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #6A3E3F;
    color: white;

}

.btn-primary:hover {
    background: #4E2C2D;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-primary .arrow {
    margin-left: 0.5rem;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: #6A3E3F;
    border: 2px solid #6A3E3F;
}

.btn-secondary:hover {
    background: #6A3E3F;
    color: white;
    transform: translateY(-4px);
}

.btn-outline {
    background: transparent;
    color: #6A3E3F;
    border: 2px solid #6A3E3F;
    padding: 0.875rem 2rem;
}

.btn-outline:hover {
    background: #6A3E3F;
    color: white;
    transform: translateY(-4px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vh, 4rem);
}

.section-title {
    margin-bottom: 1rem;
}

/* Contact page heading ("Let's Create Something") in black */
.contact-page .section-title {
    color: #000000;
}

/* On mobile, the contact hero is the first element under the overlaid logo,
   so push it down to avoid the logo overlapping the heading. Mobile only. */
@media (max-width: 768px) {
    .enquiry-form.contact-page {
        padding-top: calc(var(--topbar-h, 85px) + 2.5rem);
    }
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F1ED;
}

.carousel-wrapper {
    position: relative;
    padding: 0 clamp(0.5rem, 2vw, 2rem);
    width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: clamp(1rem, 3vw, 2rem);
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    flex-wrap: nowrap;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-x;
    cursor: grab;
}

.carousel-inner.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Stop native image/link dragging so mouse-drag scrolls the carousel */
.carousel-inner img,
.carousel-inner a {
    -webkit-user-drag: none;
    user-select: none;
}

.carousel-inner::-webkit-scrollbar {
    height: 4px;
}

.carousel-inner::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.carousel-inner::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 10px;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Mobile: scrollable - one card visible at a time */
@media (max-width: 479px) {
    .carousel-wrapper {
        padding: 0 0.5rem;
    }
    .carousel-inner {
        gap: 0.75rem;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
    .carousel-item {
        flex: 0 0 calc(100% - 0.75rem);
        min-width: calc(100% - 0.75rem);
        scroll-snap-align: start;
    }
}

/* Tablet: 2 cards visible */
@media (min-width: 480px) and (max-width: 767px) {
    .carousel-item {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }
}

/* Tablet+: 2 cards visible */
@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

/* Desktop: 4 cards visible */
@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(25% - 1.5rem);
        min-width: calc(25% - 1.5rem);
    }
}

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

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.05);
    }
}

.carousel-item {
    animation: cardEntrance 0.6s ease-out forwards;
}

.carousel-item:nth-child(1) { animation-delay: 0.1s; }
.carousel-item:nth-child(2) { animation-delay: 0.2s; }
.carousel-item:nth-child(3) { animation-delay: 0.3s; }
.carousel-item:nth-child(4) { animation-delay: 0.4s; }
.carousel-item:nth-child(5) { animation-delay: 0.5s; }
.carousel-item:nth-child(6) { animation-delay: 0.6s; }
.carousel-item:nth-child(7) { animation-delay: 0.7s; }
.carousel-item:nth-child(8) { animation-delay: 0.8s; }

.service-card {
    background: #F5F1ED;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(15, 47, 115, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background: #F5F1ED;
    border-color: var(--secondary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 30px rgba(37, 99, 235, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(79, 134, 247, 0.08) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    font-size: 1.8rem;
    color: var(--secondary-blue);
}

.service-icon i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.5s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(79, 134, 247, 0.12) 100%);
    border-color: var(--secondary-blue);
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-icon i {
    transform: rotate(-3deg) scale(1.1);
    color: #0F2F73;
}

/* On touch devices (mobile/tablet), don't apply hover lift — it triggers on tap/swipe */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        background: #F5F1ED;
        border-color: rgba(37, 99, 235, 0.12);
        box-shadow: 0 4px 16px rgba(15, 47, 115, 0.06);
    }

    .service-card:hover .service-icon {
        transform: none;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(79, 134, 247, 0.08) 100%);
        border-color: rgba(37, 99, 235, 0.2);
        box-shadow: none;
    }

    .service-card:hover .service-icon i {
        transform: none;
        color: var(--secondary-blue);
    }
}

.service-title {
    margin: 0;
    font-size: 1.25rem;
    transition: color 0.4s ease;
    color: var(--heading);
}

.service-card:hover .service-title {
    color: var(--secondary-blue);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--light-text);
    margin: 0;
    flex-grow: 1;
    transition: color 0.4s ease;
}

.service-card:hover .service-desc {
    color: var(--paragraph);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F9FF;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: clamp(250px, 40vw, 400px);
    box-shadow: 0 8px 20px rgba(15, 47, 115, 0.1);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-button {
    text-align: center;
    margin-top: clamp(2rem, 4vh, 3rem);
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F1ED;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Horizontal swipeable carousel on mobile */
@media (max-width: 767px) {
    .features-grid {
        display: flex;
        flex-wrap: nowrap;
        grid-template-columns: none;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .features-grid .feature-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: center;
    }
}

.feature-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #F5F1ED;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(15, 47, 115, 0.06);
}

.feature-card:hover {
    background: #FAFBFD;
    border-color: var(--secondary-blue);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    margin: 0;
    font-size: 1.25rem;
}

.feature-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--light-text);
}

/* ========== ENQUIRY FORM SECTION ========== */
.enquiry-form {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F1ED;
}

.form-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 4rem);
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 1rem;
}

.contact-form {
    background: #F5F1ED;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3.5rem);
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 8px 32px rgba(15, 47, 115, 0.08);
}

@media (min-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: #FAFBFD;
    border: 1px solid rgba(106, 62, 63, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--paragraph);
    transition: var(--transition);
    order: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #FAFBFD;
    border-color: #6A3E3F;
    box-shadow: 0 0 0 3px rgba(106, 62, 63, 0.1);
}

.form-group label {
    font-size: 0.9rem;
    color: #6A3E3F;
    pointer-events: none;
    font-weight: 600;
    order: 1;
}

.form-group-full label {
    font-size: 0.9rem;
}

.contact-form .btn-primary {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: clamp(3rem, 8vh, 6rem) 0;
    background: #F5F1ED;
}

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

.carousel-item {
    animation: testimonialSlide 0.6s ease-out forwards;
}

.testimonials .carousel-item:nth-child(1) { animation-delay: 0.1s; }
.testimonials .carousel-item:nth-child(2) { animation-delay: 0.2s; }
.testimonials .carousel-item:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 47, 115, 0.08);
    border-radius: 20px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    height: 100%;
    width: 100%;             /* Ensures it takes full available width */
    max-width: 650px;        /* INCREASE THIS VALUE (e.g. try 650px or 750px) to make it wider */
    margin: 0 auto;          /* Centers it if max-width leaves extra space */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 47, 115, 0.08);
    position: relative;
    overflow: hidden;
}

/* Featured photo banner at the top of the card */
.t-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #EAF1FB;
}

/* "+N more photos" badge */
.t-photo-more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 0.3rem 0.7rem;
    background: rgba(4, 17, 45, 0.7);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    pointer-events: none;       /* let clicks pass through to the image */
    z-index: 2;
}

.testimonial-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-card:hover .testimonial-gallery-img {
    transform: scale(1.05);
}

/* Card body */
.t-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 1.9rem);
    position: relative;
    flex: 1 1 auto;
}

/* Quote mark accent */
.t-body::before {
    content: '\201C';
    position: absolute;
    top: -0.6rem;
    right: 1rem;
    font-size: 5rem;
    line-height: 1;
    color: rgba(212, 165, 116, 0.22);
    font-family: var(--font-heading);
    font-weight: 700;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6A3E3F, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6A3E3F, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    border-color: rgba(106, 62, 63, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(106, 62, 63, 0.18);
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    position: relative;
    z-index: 1;
}

/* Author row */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 47, 115, 0.08);
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6A3E3F, #C68366);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(106, 62, 63, 0.25);
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: 0.2px;
}

.author-location {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--light-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

@keyframes starBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes starBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.star {
    color: #D1D5DB;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.star.active {
    color: #FCD34D;
    text-shadow: 0 2px 8px rgba(252, 211, 77, 0.3);
}

.testimonial-card:hover .star {
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 4px 12px rgba(252, 211, 77, 0.4));
}

.testimonial-card:hover .star:nth-child(1) { animation: starBounce 0.6s ease-in-out 0s; }
.testimonial-card:hover .star:nth-child(2) { animation: starBounce 0.6s ease-in-out 0.1s; }
.testimonial-card:hover .star:nth-child(3) { animation: starBounce 0.6s ease-in-out 0.2s; }
.testimonial-card:hover .star:nth-child(4) { animation: starBounce 0.6s ease-in-out 0.3s; }
.testimonial-card:hover .star:nth-child(5) { animation: starBounce 0.6s ease-in-out 0.4s; }

.testimonial-text {
    margin: 0;
    font-size: 1rem;
    color: var(--paragraph);
    line-height: 1.75;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
    font-style: italic;
    letter-spacing: 0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-text::before { content: '\201C'; }
.testimonial-text::after { content: '\201D'; }

/* ========== FOOTER ========== */
.footer {
    background: #6A3E3F;
    color: #FFFFFF;
    padding: 1rem 1.5rem 0.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0 -1.5rem 1rem -1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 1.5rem 1rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0.8rem;
}

@media (min-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .footer-brand {
        padding: 0 1rem 3rem 1rem;
        margin-bottom: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.footer-logo-img {
    max-height: 94px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.footer-socials-section {
    display: flex;
    justify-content: center;
    padding: 0.3rem 0;
    margin: 0 -1.5rem 0.3rem -1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
}

.footer-socials a {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--secondary-blue);
    color: white;
    transform: translateY(-4px);
}

.footer-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0;
    margin-bottom: 0.2rem;
    margin-top: 0;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.95);
}


.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 0.3rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.footer-bottom a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom p {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    letter-spacing: 0.2px;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

/* 320px - Extra small phones */
@media (max-width: 319px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* 768px - Tablets */
@media (min-width: 768px) {
    .navbar {
        height: 100px;
    }
}

/* 820px - iPad */
@media (min-width: 820px) {
    .service-card,
    .feature-card,
    .testimonial-card {
        padding: 1rem;
    }
}

/* 992px - Large tablets */
@media (min-width: 992px) {
    .hero-buttons {
        gap: 1.5rem;
    }
}

/* 1200px - Desktops */
@media (min-width: 1200px) {
    .services,
    .portfolio,
    .why-choose-us,
    .testimonials,
    .enquiry-form {
        padding: 6rem 0;
    }
}

/* 1600px - Large desktops */
@media (min-width: 1600px) {
    .container {
        width: 1400px;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Light mode only - luxury wedding aesthetic */
/* No dark mode for this brand */

/* ========== PERFORMANCE ========== */
img {
    will-change: transform;
}

.btn,
.service-card,
.feature-card,
.testimonial-card,
.portfolio-card {
    will-change: transform;
}

/* Lazy loading styles */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-soft) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* SERVICE ACTIONS FRONTEND */
.service-actions-frontend {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-edit-service,
.btn-delete-service {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-edit-service {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-edit-service:hover {
    background: #F5F1ED;
    color: var(--secondary-blue);
    transform: scale(1.1);
}

.btn-delete-service {
    background: rgba(239, 68, 68, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete-service:hover {
    background: #FF6B6B;
    color: white;
    transform: scale(1.1);
}

/* PLACEHOLDER IMAGE */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0eaff 0%, #f0f4ff 100%);
    color: var(--secondary-blue);
    gap: 0.75rem;
}

.placeholder-image i {
    font-size: 3rem;
    opacity: 0.5;
}

.placeholder-image p {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    margin: 0;
}

/* Testimonial Images Gallery */
.testimonial-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-height: 150px;
    overflow-y: auto;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 8px;
}

.testimonial-image {
    width: 100%;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-image:hover {
    transform: scale(1.05);
    border-color: var(--secondary-blue);
}

.image-count {
    display: inline-block;
    background: var(--light-blue);
    color: var(--secondary-blue);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.image-count i {
    margin-right: 0.5rem;
}

/* Image Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.modal img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.modal-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 0;
    z-index: 1100;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #DC2626;
    border-color: #fff;
    transform: scale(1.1);
}

/* Lightbox prev/next navigation */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-prev { left: 28px; }
.modal-next { right: 28px; }

.modal-nav:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
}

.modal-counter {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1100;
    display: none;
}

@media (max-width: 600px) {
    .modal-prev { left: 12px; }
    .modal-next { right: 12px; }
    .modal-nav { width: 44px; height: 44px; font-size: 1.6rem; }
}

/* Position button below decorative line on desktop */
@media (min-width: 1024px) {
    .hero-buttons-overlay {
        left: calc(5vw + 10%);
        bottom: clamp(14rem, 22vh, 20rem);
    }
}

/* ========== OUR SERVICES SECTION ========== */
.our-services {
    background: #F5F1ED;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.services-decorative-left,
.services-decorative-right {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.3;
    pointer-events: none;
}

.services-decorative-left {
    top: 50px;
    left: 20px;
}

.services-decorative-right {
    bottom: 50px;
    right: 20px;
    transform: rotate(180deg);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
    font-family: var(--font-heading);
}

.decorative-line {
    width: 100%;
    max-width: 400px;
    height: 40px;
    margin: 0 auto;
}

.decorative-line svg {
    width: 100%;
    height: 100%;
}

/* Row layout: arrow | carousel | arrow (arrows on the sides, centered) */
.services-carousel-row {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1rem);
}

.our-services .carousel {
    flex: 1 1 auto;
    min-width: 0;                 /* CRITICAL: lets the flex item shrink so it scrolls internally */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

.our-services .carousel::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
}

.our-services .carousel-inner {
    display: flex;
    gap: 2rem;
    overflow: visible;            /* let .carousel handle scrolling, no inner scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.our-services .carousel-inner::-webkit-scrollbar {
    display: none;
}

.service-item {
    scroll-snap-align: start;
}

.services-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
}

.service-item {
    text-align: center;
}

/* When a service card is a link (services page), keep it looking like the card */
.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.service-item-link:hover {
    transform: translateY(-6px);
}

.service-item-link:hover .service-name {
    color: #4E2C2D;
}

.service-image-box {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F5F1ED;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-name {
    font-family: 'Great Vibes', cursive;
    font-size: 1.57rem;
    font-weight: 400;
    color: #6A3E3F;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.services-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.nav-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #C9A961;
    background: transparent;
    color: #C9A961;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.nav-btn:hover {
    background: #C9A961;
    color: white;
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Desktop - Larger Images */
@media (min-width: 1024px) {
    .our-services .carousel-inner {
        gap: 2.5rem;
    }

    .service-item {
        flex: 0 0 auto;
        width: calc(25% - 1.875rem);
    }

    .service-image-box {
        aspect-ratio: 1;
        min-height: 437px;
    }
}

@media (max-width: 1023px) {
    .our-services {
        padding: 2rem 0;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .our-services .carousel-inner {
        gap: 1.5rem;
    }

    .service-item {
        flex: 0 0 auto;
        width: calc(50% - 0.75rem);
    }

    .services-decorative-left,
    .services-decorative-right {
        width: 100px;
        height: 100px;
    }

    .services-decorative-left {
        top: 30px;
        left: 10px;
    }

    .services-decorative-right {
        bottom: 30px;
        right: 10px;
    }
}

@media (max-width: 599px) {
    .our-services {
        padding: 2rem 0 2.5rem;
    }

    .our-services .carousel {
        margin-bottom: 1.75rem;
    }

    .our-services .carousel-inner {
        gap: 1rem;
    }

    .service-item {
        flex: 0 0 auto;
        width: 100%;
    }

    .service-image-box {
        aspect-ratio: 4 / 3;
        margin-bottom: 0.75rem;
    }

    .service-name {
        font-size: 1.36rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .services-navigation {
        gap: 1.5rem;
    }

    /* Keep decorative ornaments from crowding the cards on small screens */
    .services-decorative-left,
    .services-decorative-right {
        width: 70px;
        height: 70px;
        opacity: 0.2;
    }
}

/* ========== FEATURED WEDDING SECTION ========== */
.wedding-feature {
    background: #F5F1ED;
    padding: clamp(2.5rem, 6vh, 5rem) 0;
}

.wedding-feature-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.wedding-feature-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
}

.wedding-feature .decorative-line {
    max-width: 300px;
    height: 36px;
    margin: 0 0 1.75rem;
}

.wedding-feature .decorative-line svg {
    width: 100%;
    height: 100%;
}

.wedding-feature-desc p {
    color: var(--paragraph);
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

.wedding-feature-desc p:last-child {
    margin-bottom: 0;
}

.wedding-feature-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.wedding-feature-image img {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 3 / 4;          /* portrait / vertical rectangle */
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 47, 115, 0.15);
}

/* Alternating layout: image on the left */
.wedding-feature.reverse .wedding-feature-text {
    order: 2;
}

.wedding-feature.reverse .wedding-feature-image {
    order: 1;
}

/* Responsive: stack on tablet/mobile (image on top) */
@media (max-width: 900px) {
    .wedding-feature-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .wedding-feature .decorative-line {
        margin-left: auto;
        margin-right: auto;
    }

    /* Always show image first when stacked, regardless of alternation */
    .wedding-feature .wedding-feature-text,
    .wedding-feature.reverse .wedding-feature-text {
        order: 2;
    }

    .wedding-feature .wedding-feature-image,
    .wedding-feature.reverse .wedding-feature-image {
        order: 1;
    }

    .wedding-feature-image img {
        max-width: 420px;
    }
}

/* ========== OUR GALLERY SECTION ========== */
.gallery-section {
    background: #F5F1ED;
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 2.5rem;
    width: 100%;
    font-size: 0;            /* kill any inline whitespace seams */
    line-height: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;        /* sharp, flush tiles like the reference */
    aspect-ratio: 4 / 3;     /* larger, uniform tiles */
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    /* Zoom crops the white border baked into some image files,
       so adjacent tiles sit perfectly flush. */
    transform: scale(1.12);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================================================
   TOP BAR + HOVER SIDE-MENU  (Touch925-inspired)
   - Top bar on all sizes: hamburger (left), centered logo.
   - Desktop (>=992px): hovering the left corner reveals the side menu.
   - Tablet/Mobile (<992px): tapping the hamburger opens the menu.
   ========================================================================== */

:root {
    --sn-dark:    #04112D;
    --sn-primary: #071B45;
    --sn-grad:    #0D2D73;
    --sn-border:  #C8A05A;
    --sn-hover:   #123C96;
    --sn-text:    #F8FAFC;
    --sn-text-2:  #B8C2D9;
    --sn-active:  #D4A574;
    --sn-cta:     #0F2F73;
    --sn-cta-h:   #2563EB;
    --sn-width:   238px;
    --topbar-h:   85px;
    --sn-ease:    cubic-bezier(.22, 1, .36, 1);
}

/* ---------- TOP BAR ---------- */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 32px);

    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1001;

}



.topbar-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 8px));
    display: flex;
    align-items: center;
}

.topbar-logo img {
    height: 90px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
}

/* Right-corner CTA button (matches the hero primary button) — stays sticky */
.topbar-cta {
    position: fixed;
    top: calc(var(--topbar-h) / 2);
    right: clamp(16px, 3vw, 32px);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: #6A3E3F;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.98rem;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 1002;
    transition: background .3s ease, transform .3s var(--sn-ease), box-shadow .3s ease;
}

.topbar-cta:hover {
    background: #4E2C2D;
    color: #FFFFFF;
    transform: translateY(-50%) translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* On small phones, hide the text CTA to avoid crowding (it's also in the menu) */
@media (max-width: 480px) {
    .topbar-cta {
        display: none;
    }
}

/* hamburger inherits existing .hamburger styles; make the X dark on the light bar.
   Stays sticky in the top-left corner while the page scrolls. */
.hamburger {
    position: fixed;
    top: calc(var(--topbar-h) / 2);
    left: clamp(16px, 3vw, 32px);
    transform: translateY(-50%);
    display: flex;
    flex-shrink: 0;
    z-index: 1002;
}

/* On the light topbar, the hamburger bars must be dark to stay visible */
.topbar .hamburger span {
    background: #6A3E3F;
}

/* Keep the X (open state) dark too */
.topbar .hamburger.active span {
    background: #6A3E3F;
}

.hamburger.active span {
    background: var(--primary-blue);
}

/* ---------- SIDE MENU (drawer) ---------- */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sn-width);
    background: #000000;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(4, 17, 45, .28);
    border-right: 1px solid rgba(200, 160, 90, .25);
    border-radius: 0 28px 28px 0;
    z-index: 1000;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .45s var(--sn-ease);
}

.side-nav.open {
    transform: translateX(0);
}

.side-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: var(--sn-width);
    padding: calc(var(--topbar-h) + 22px) 0 28px;
    gap: 0.35rem;
}

/* logo lives in the top bar — hide the drawer's copy */
.side-logo,
.side-logo + .side-divider {
    display: none;
}

.side-divider {
    display: block;
    height: 1px;
    background: rgba(200, 160, 90, .3);
    margin: 14px 22px;
    flex-shrink: 0;
}

.side-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 50px;
    padding-left: 22px;
    color: #C68366;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .3s ease, color .3s ease, transform .3s var(--sn-ease), border-color .3s ease;
    white-space: nowrap;
}

.side-ic {
    width: 24px;
    text-align: center;
    font-size: 1.02rem;
    flex-shrink: 0;
    transition: color .3s ease;
}

.side-link:hover {
    background: #6A3E3F;
    color: #C68366;
    transform: translateX(8px);
    outline: none;
}

/* The side-links also carry the .nav-link class, which draws a blue
   underline (::after) that grows on hover. Neutralize it here. */
.side-link::after,
.side-link:hover::after {
    display: none;
    content: none;
}

.side-link:hover .side-ic { color: #C68366; }

.side-link.active {
    color: #C68366;
    border-left-color: #C68366;
}

.side-link.active .side-ic { color: #C68366; }

.side-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    margin: 0 22px;
    border-radius: 16px;
    background: #6A3E3F;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s ease, transform .3s var(--sn-ease);
    flex-shrink: 0;
}

.side-cta .side-ic { width: auto; }

.side-cta:hover {
    background: #4E2C2D;
    transform: translateY(-2px);
    color: #fff;
}

.side-socials {
    display: flex;
    gap: 18px;
    padding-left: 24px;
    align-items: center;
    flex-shrink: 0;
}

.side-social {
    color: #C68366;
    font-size: 1.05rem;
    transition: transform .3s var(--sn-ease), color .3s ease;
}

.side-social:hover {
    transform: scale(1.1);
    color: #C68366;
}

/* ---------- OVERLAY ---------- */
.sidenav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 17, 45, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
    z-index: 999;
}

.sidenav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- LAYOUT OFFSET ---------- */
body {
    padding-top: 0;
}

/* hide the legacy top navbar entirely */
.navbar { display: none !important; }

/* On desktop the menu opens on hover (JS adds .open); on small screens
   it opens on tap. Narrower drawer on phones. */
@media (max-width: 480px) {
    :root { --sn-width: 280px; }
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
    color: #FFFFFF;
}

/* Gentle attention pulse ring (not on the icon itself) */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Popup chat bubble */
.whatsapp-popup {
    width: 290px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 1.1rem 1.1rem 1.25rem;
    position: relative;
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hidden state */
.whatsapp-popup.hidden {
    opacity: 0;
    transform: scale(0.85) translateY(10px);
    pointer-events: none;
}

.whatsapp-popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #9CA3AF;
    cursor: pointer;
}

.whatsapp-popup-close:hover { color: #4B5563; }

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.whatsapp-popup-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.whatsapp-popup-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
}

.whatsapp-popup-status {
    margin: 0;
    font-size: 0.75rem;
    color: #25D366;
}

.whatsapp-popup-msg {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4B5563;
    background: #F3F4F6;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
}

.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.25s ease;
}

.whatsapp-popup-btn:hover {
    background: #1EBE5A;
    color: #FFFFFF;
}

@media (max-width: 480px) {
    .whatsapp-float { right: 16px; bottom: 16px; }
    .whatsapp-btn { width: 54px; height: 54px; font-size: 1.75rem; }
    .whatsapp-popup { width: 260px; }
}

/* Media query for mobile devices only (screens 768px wide and below) */
@media (max-width: 768px) {
    .contact-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }

    .contact-form .form-group,
    .contact-form .form-group-full {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 15px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .contact-form input[type="email"],
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-form .btn-primary {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 30px; /* Clears space for the floating WhatsApp icon */
    }
}