:root {
    --accent: #ff4b5c;
}

html {
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    /* border: 1px solid red; */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background-color: #f5f5f7;
    color: #222222;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    padding-top: 0; /* hero starts at very top, under fixed header */
    background-color: #f5f5f7;
}

.header-blur {
    backdrop-filter: blur(10px);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-blur .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.header-blur .navbar-brand {
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.header-blur.scrolled {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
    max-height: 48px;
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header-blur.scrolled .letter-spacing-1 {
    color: #222222;
}

.nav-link-soft {
    position: relative;
    color: #ffffff !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header-blur.scrolled .nav-link-soft {
    color: #222222 !important;
}

.nav-link-soft.active {
    color: #fbc41b !important;
}

.header-blur.scrolled .nav-link-soft.active {
    color: #fbc41b !important;
}

.nav-link-soft::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: #fbc41b;
    transition: width 0.2s ease-out;
}

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

.nav-cta {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 0.5rem !important;
    padding: 0.5rem 1.25rem;
}

.nav-cta:hover {
    background-color: #ffffff;
    color: #222222;
    border-color: #ffffff;
}

.header-blur.scrolled .nav-cta {
    border-color: rgba(34, 34, 34, 0.3);
    color: #222222;
    background-color: rgba(255, 255, 255, 0.9);
}

.header-blur.scrolled .nav-cta:hover {
    background-color: #662483;
    color: #ffffff;
    border-color: #662483;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) contrast(1.05);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 4.5rem;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .hero-content {
        padding-top: 7rem;
        padding-bottom: 6rem;
    }
}

.hero-text-wrapper {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
    width: fit-content;
    max-width: 100%;
}

@media (min-width: 576px) {
    .hero-text-wrapper {
        padding: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero-text-wrapper {
        padding: 3rem;
        border-radius: 2rem;
    }
}

.hero-kicker {
    color: var(--accent);
    letter-spacing: 0.18em;
}

.hero-text-wrapper .hero-kicker {
    color: #ff4b5c;
}

.hero-title {
    max-width: 22ch;
    color: #ffffff;
}

.hero-subtitle {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.9);
}

/* Global button styles - bigger, bolder, less rounded */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    border-radius: 0.5rem !important;
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
}

.btn.rounded-pill {
    border-radius: 0.5rem !important;
}

.btn-soft {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(34, 34, 34, 0.15);
    font-weight: 600;
}

.btn-soft:hover {
    background-color: #222222;
    color: #ffffff;
}

/* Primary button - consistent across all sections */
.btn-primary-custom {
    background-color: #662483;
    border-color: #662483;
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 2rem;
}

.btn-primary-custom:hover {
    background-color: #552070;
    border-color: #552070;
    color: #ffffff;
}

/* Secondary button - consistent across all sections */
.btn-secondary-custom {
    background-color: #fbc41b;
    border-color: #fbc41b;
    color: #222222;
    font-weight: 600;
    padding: 0.875rem 2rem;
}

.btn-secondary-custom:hover {
    background-color: #e0b018;
    border-color: #e0b018;
    color: #222222;
}

.slogan-section {
    background: #111111;
    color: #ffffff;
}

.slogan-text {
    max-width: 42rem;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.6rem, 2vw + 1.2rem, 2.1rem);
    line-height: 1.4;
}

.slogan-text::before,
.slogan-text::after {
    content: '–';
    margin: 0 0.4rem;
    color: var(--accent);
}

.section-panel {
    position: relative;
    background-color: #ffffff;
}

.section-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background: radial-gradient(circle at top left, rgba(34, 34, 34, 0.12), transparent 55%);
    pointer-events: none;
}

.section-panel-alt::before {
    background: radial-gradient(circle at top right, rgba(34, 34, 34, 0.12), transparent 55%);
}

/* Alternating section backgrounds */
.section-panel.section-panel-alt {
    background-color: #f5f5f7;
}

/* Section titles - consistent styling */
section h2,
section h3,
section h4,
section .h2,
section .h3,
section .h4 {
    color: #662483 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    line-height: 1.5;
}

/* Section title class - consistent across all sections */
.section-title {
    padding: 0.4rem 0 0.6rem 0;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Center the section-title element within its container */
.section-title.text-center {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-title.text-center > span {
    display: inline-block;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-title > span {
    position: relative;
    z-index: 2;
    display: inline-block;
    /* color: #662483; */
    background: linear-gradient(to right, #2f133a 0%, #2f133a 50%, #662483 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* color: transparent; */
}

/* Yellow box below text - shorter than text width, positioned behind */
.section-title::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    width: 75%;
    max-width: 350px;
    height: 1.5rem;
    background-color: #fbc41b;
    border-radius: 0.125rem;
    pointer-events: none;
    z-index: 1;
}

/* Align yellow box with left edge of text when title is centered */
.section-title.text-center > span {
    position: relative;
    display: inline-block;
}

/* Position yellow box to align with left edge of centered text span */
.section-title.text-center::before {
    left: var(--text-offset, 0);
    transform: none;
}

/* Exclude hero section titles */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section .h1,
.hero-section .h2,
.hero-section .h3,
.hero-section .h4 {
    color: inherit !important;
}

.section-image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    transform: translateY(8px);
    transition: transform 320ms ease-out, box-shadow 320ms ease-out;
}

.section-image {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.03);
    transition: transform 380ms ease-out;
}

.section-image-wrapper:hover {
    transform: translateY(0);
}

.section-image-wrapper:hover .section-image {
    transform: scale(1.06);
}

/* Full-height sections with edge-touching images */
.section-full-height {
    min-height: 80vh;
}

@media (min-width: 992px) {
    .section-full-height {
        min-height: 90vh;
    }
}

.section-image-full-height {
    position: relative;
    min-height: 50vh;
}

@media (min-width: 992px) {
    .section-image-full-height {
        min-height: 100%;
    }
}

.section-image-wrapper-full {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .section-image-wrapper-full {
        min-height: 90vh;
    }
}

.section-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image touches right edge, border radius on left */
.radius-top-right .section-image-wrapper-full, 
.radius-top-right .section-image-full
{
    border-top-right-radius: 6rem;
}

.radius-bottom-right .section-image-wrapper-full,
 .radius-bottom-right .section-image-full
 {
    border-bottom-right-radius: 6rem;
}

.radius-top-left .section-image-wrapper-full,
.radius-top-left .section-image-full
{
    border-top-left-radius: 6rem;
}

.radius-bottom-left .section-image-wrapper-full,
.radius-bottom-left .section-image-full
{
    border-bottom-left-radius: 6rem;
}
.section-content-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .section-content-wrapper {
        max-width: none;
        margin: 0;
    }
    
    /* Section 1: Image on right, text on left (order-lg-1) - large padding from left edge, thin from image side */
    .order-lg-1 .section-content-wrapper {
        padding-left: 9rem !important;
        padding-right: 2rem !important;
    }
    
    /* Section 2: Image on left, text on right - thin padding from image side, large from right edge */
    .section-image-left ~ .col-lg-6 .section-content-wrapper {
        padding-left: 2rem !important;
        padding-right: 9rem !important;
    }
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    .section-full-height {
        min-height: auto;
    }
    
    .section-image-full-height {
        min-height: 400px;
    }
    
    .section-image-right .section-image-wrapper-full,
    .section-image-right .section-image-full,
    .section-image-left .section-image-wrapper-full,
    .section-image-left .section-image-full {
        border-radius: 0;
    }
    
    .section-content-wrapper {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

.soft-shadow {
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.footer-muted {
    background: #f0f0f3;
    color: rgba(34, 34, 34, 0.7);
}

/* Scroll reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 500ms ease-out,
        transform 500ms ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Small tweaks */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.75));
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Anchor scroll offset so sections don't hide under fixed header */
section[id] {
    scroll-margin-top: 80px;
}


/* Banner */

/* Hero section height */
.hero-section {
    position: relative;
    height: 75vh;        /* instead of only min-height */
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin-top: 0; /* sit directly under the fixed header */
}

@media (min-width: 992px) {
    .hero-section {
        height: 85vh;
    }
}

/* Make the carousel stretch inside the hero */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide-wrapper {
    height: 100%;
}

/* Image covers the slide */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

/* Ensure hero slide wrapper covers full area even without carousel */
.hero-section .hero-slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Furniture cards horizontal scroll */
.furniture-section-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.furniture-cards-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.5rem;
}

@media (min-width: 576px) {
    .furniture-cards-wrapper {
        padding: 1rem 2rem;
    }
}

@media (min-width: 992px) {
    .furniture-cards-wrapper {
        padding: 1rem 3rem;
    }
}

.furniture-cards-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.furniture-cards-scroll::-webkit-scrollbar {
    height: 6px;
}

.furniture-cards-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.furniture-cards-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.furniture-cards-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
}

.furniture-card {
    flex: 0 0 auto;
    width: 280px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInSlide 0.5s ease-out forwards;
}

.furniture-card:nth-child(1) { animation-delay: 0.1s; }
.furniture-card:nth-child(2) { animation-delay: 0.15s; }
.furniture-card:nth-child(3) { animation-delay: 0.2s; }
.furniture-card:nth-child(4) { animation-delay: 0.25s; }
.furniture-card:nth-child(5) { animation-delay: 0.3s; }
.furniture-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.furniture-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
    transform: translateY(4px);
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
}

.furniture-card:hover .furniture-card-image-wrapper {
    transform: translateY(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.furniture-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
}

.furniture-card:hover .furniture-card-image {
    transform: scale(1.05);
}

.furniture-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(34, 34, 34, 0.9);
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.scroll-left-btn,
.scroll-right-btn {
    opacity: 0.6;
    transition: opacity 200ms ease-out;
}

.scroll-left-btn:hover,
.scroll-right-btn:hover {
    opacity: 1;
}

@media (max-width: 575.98px) {
    .furniture-card {
        width: 240px;
    }
    
    .furniture-cards-scroll {
        gap: 1rem;
    }
}

/* Masonry gallery */
.masonry-gallery {
    column-count: 1;
    column-gap: 1.5rem;
    column-fill: balance;
    width: 100%;
    display: block;
    min-height: 200px;
}

.masonry-item {
    display: inline-block;
    width: 100% !important;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    overflow: hidden;
    border-radius: 0.75rem;
    vertical-align: top;
    position: relative;
}

.masonry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.75rem;
    transition: transform 300ms ease-out, box-shadow 300ms ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
}

/* Random portrait sizes - maintaining portrait aspect ratios */
.masonry-item.masonry-size-1 {
    aspect-ratio: 3 / 4;
    padding-bottom: 133.33%;
}

.masonry-item.masonry-size-2 {
    aspect-ratio: 2 / 3;
    padding-bottom: 150%;
}

.masonry-item.masonry-size-3 {
    aspect-ratio: 4 / 5;
    padding-bottom: 125%;
}

.masonry-item.masonry-size-4 {
    aspect-ratio: 3 / 5;
    padding-bottom: 166.67%;
}

.masonry-item.masonry-size-5 {
    aspect-ratio: 5 / 7;
    padding-bottom: 140%;
}

/* Ensure images display properly on mobile */
@media (max-width: 575.98px) {
    .masonry-gallery {
        column-gap: 1rem;
    }
    
    .masonry-item {
        margin-bottom: 1rem;
        width: 100% !important;
    }
}

.masonry-item:hover .masonry-image {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .masonry-gallery {
        column-count: 3;
        column-gap: 2rem;
    }
    
    .masonry-item {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .masonry-gallery {
        column-count: 4;
    }
}

/* Image popup modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

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

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 10001;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.image-modal-close:hover {
    transform: rotate(90deg);
    background-color: rgba(255, 255, 255, 0.2);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10001;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0;
    user-select: none;
}

.image-modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.image-modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.image-modal-prev {
    left: 2rem;
}

.image-modal-next {
    right: 2rem;
}

.image-modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.image-modal-loader {
    color: #ffffff;
    font-size: 1.2rem;
    display: none;
}

.image-modal.loading .image-modal-loader {
    display: block;
}

.image-modal.loading .image-modal-content {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 575.98px) {
    .image-modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.25rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .image-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .image-modal-nav {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .image-modal-prev {
        left: 1rem;
    }

    .image-modal-next {
        right: 1rem;
    }
}

/* CTA frame */
.cta-frame {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 0.5rem;
    padding-top: 100px;
    padding-bottom: 100px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

/* CTA section with full-width background */
.cta-section {
    overflow: hidden;
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.95);
    transform: scale(1.08);
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.92));
    z-index: 1;
}


/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: #662483;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 36, 131, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #552070;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(102, 36, 131, 0.4);
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 575.98px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Horizontal Gallery */
.horizontal-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 36, 131, 0.3) transparent;
}

.horizontal-gallery::-webkit-scrollbar {
    height: 8px;
}

.horizontal-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.horizontal-gallery::-webkit-scrollbar-thumb {
    background-color: rgba(102, 36, 131, 0.3);
    border-radius: 4px;
}

.horizontal-gallery::-webkit-scrollbar-thumb:hover {
    background-color: rgba(102, 36, 131, 0.5);
}

.horizontal-gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.horizontal-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.horizontal-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.horizontal-gallery-item:hover .horizontal-gallery-image {
    transform: scale(1.05);
}

@media (max-width: 575.98px) {
    .horizontal-gallery-item {
        width: 250px;
        height: 250px;
    }
    
    .horizontal-gallery {
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .horizontal-gallery-item {
        width: 350px;
        height: 350px;
    }
    
    .horizontal-gallery {
        gap: 2rem;
    }
}

/* Contact Page Styles */
.contact-map-section {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form .form-label {
    color: #222222;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #662483;
    box-shadow: 0 0 0 0.2rem rgba(102, 36, 131, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-image-card {
    overflow: hidden;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.contact-image-card:hover {
    transform: translateY(-5px);
}

.contact-image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media (max-width: 767.98px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-image-card img {
        height: 200px;
    }
}

/* 404 Page Styles */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-page-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-page-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.error-page-link {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 300px;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.error-page-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.error-page-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.error-page-link:hover img {
    transform: scale(1.1);
}

.error-page-link-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
}

.error-page-link-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

@media (max-width: 767.98px) {
    .error-page-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .error-page-link {
        height: 250px;
    }
}

