/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: 100vh;
    object-fit: contain;
    cursor: default;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ccc;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #522A0F;
    background-color: #fafafa;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #522A0F;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Floating Logo */
.floating-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

body.modal-open .floating-logo {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.floating-logo img {
    width: 300px;
    height: auto;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: #D4C4A7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    padding-right: 40px;
}

.brand {
    font-style: italic;
    font-weight: 700;
}

.about-image img {
    width: 100%;
    height: auto;
}

/* Quote Section */
.quote-section {
    padding: 120px 0;
    padding-bottom: 40px;
    background-color: #EFDECD;
    position: relative;
}

.quote-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 600px;
}

.quote-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
    padding-right: 30px;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    line-height: 1.4;
    color: #522A0F;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 2;
}

.quote-left-image {
    padding-top: 60px;
    padding-left: 15px;
}

.quote-left-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

.quote-right-image {
    margin-top: -60px;
    padding-left: 20px;
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: stretch;
}

.quote-right-image img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
}

/* Carousel Section */
.carousel-section {
    padding: 120px 0;
    background-color: #D4C4A7;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track img {
    width: calc(33.333%);
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-track img:hover {
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 32px);
    left: 16px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 48px;
    font-weight: 100;
    font-family: 'Arial', sans-serif;
    color: #522A0F;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    padding: 60px 0;
    line-height: 1;
    transform: scaleY(3);
}

.carousel-btn:hover {
    color: rgba(82, 42, 15, 0.6);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: #EFDECD;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    margin-bottom: 30px;
    color: #522A0F;
    font-size: 2.5rem;
}

.contact-content h3 {
    margin-top: 50px;
    color: #522A0F;
    font-size: 2.5rem;
}

.email {
    color: #522A0F;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    margin-left: 40px;
    display: inline-block;
}

.email:hover {
    border-bottom-color: #522A0F;
}

.social {
    font-size: 1.2rem;
    color: #522A0F;
}

.social a {
    color: #522A0F;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    margin-left: 40px;
    display: inline-block;
}

.social a:hover {
    border-bottom-color: #522A0F;
}

.contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    blockquote {
        font-size: 2rem;
    }
    
    .quote-layout {
        min-height: 500px;
        gap: 40px;
    }
    
    .quote-left-image img {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .floating-logo {
        top: 20px;
        left: 20px;
    }
    
    .floating-logo img {
        width: 200px;
    }
    
    .hero {
        height: 100vh;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    blockquote {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .quote-layout {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-content {
        padding-right: 0;
        gap: 30px;
    }
    
    .quote-left-image {
        padding-left: 0;
        padding-bottom: 15px;
    }
    
    .quote-left-image img {
        max-width: 300px;
    }
    
    .quote-right-image {
        display: none;
        grid-column: unset;
        grid-row: unset;
        margin-top: 0;
        padding-left: 0;
        height: 0;
        width: 0;
    }
    
    .carousel-container {
        padding: 0 25px;
    }
    
    .carousel-nav {
        width: calc(100% - 32px);
        left: 16px;
    }
    
    .carousel-track img {
        width: 100%;
        height: 300px;
        padding: 0 10px;
    }
    
    .carousel-nav {
        width: 100%;
        left: 0;
        padding: 0 10px;
    }
    
    .carousel-btn {
        font-size: 36px;
        padding: 30px 0;
        transform: scaleY(2);
    }
    
    .quote-section,
    .carousel-section,
    .contact {
        padding: 80px 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .email,
    .social a {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .close-modal {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    blockquote {
        font-size: 1.3rem;
        padding: 0 10px;
    }
    
    .quote-left-image img {
        max-width: 250px;
    }
    
    .carousel-container {
        padding: 0 30px;
    }
    
    .carousel-nav {
        padding: 0 5px;
    }
    
    .carousel-btn {
        font-size: 28px;
        padding: 20px 0;
    }
    
    .email {
        font-size: 1.1rem;
        word-break: break-all;
    }
}