/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c9a961;
    --secondary-color: #2c1810;
    --accent-color: #f8f4ed;
    --text-dark: #2c1810;
    --text-light: #7d6b5a;
    --white: #ffffff;
    --gold-light: #e8d5b7;
    --gold-dark: #9b7d4f;
    --gradient-gold: linear-gradient(135deg, #c9a961 0%, #e8d5b7 100%);
    --gradient-dark: linear-gradient(135deg, #2c1810 0%, #4a3428 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--secondary-color);
}

/* ===== Three.js Background Canvas ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2c2c2c 100%);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    padding: 100px 2rem 40px;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    color: var(--white);
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: inline-block;
    animation: slideInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    color: var(--primary-color);
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ===== 3D Slider ===== */
.hero-right {
    animation: fadeInRight 1s ease-out;
}

.slider-container {
    position: relative;
    height: 500px;
    perspective: 1500px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.slide {
    position: absolute;
    width: 350px;
    height: 480px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(0) scale(1);
    pointer-events: all;
    z-index: 10;
}

.slide.prev {
    opacity: 0.6;
    transform: translate(-120%, -50%) rotateY(25deg) translateZ(-200px) scale(0.8);
    pointer-events: all;
    z-index: 5;
}

.slide.next {
    opacity: 0.6;
    transform: translate(20%, -50%) rotateY(-25deg) translateZ(-200px) scale(0.8);
    pointer-events: all;
    z-index: 5;
}

.slide-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 175, 55, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s;
}

.slide.active .slide-inner:hover {
    transform: translateZ(30px);
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.slide-inner:hover img {
    transform: scale(1.1);
}

.slider-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: rgba(26, 26, 26, 0.8);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.slider-indicators {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ===== Collection Section ===== */
.collection-section {
    padding: 100px 2rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.collection-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.collection-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.collection-card:hover .card-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-view:hover {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.card-content p {
    color: var(--text-light);
}

/* ===== Gift Section ===== */
.gift-section {
    padding: 100px 2rem;
    background: var(--accent-color);
}

.gift-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gift-container > * {
    min-width: 0;
}

.gift-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.gift-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.gift-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.gift-features li {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gift-features li .icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.gift-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gift-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gift-image:hover img {
    transform: scale(1.05);
}

.gift-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gradient-gold);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 2rem;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 3rem;
    min-width: 60px;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-light);
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 100px 2rem;
    background: var(--accent-color);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
}

/* ===== Visit Our Store Section ===== */
.visit-section {
    padding: 100px 2rem;
    background: var(--white);
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visit-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.visit-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.visit-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.visit-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.visit-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.visit-map {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== Contact Section ===== */
.about-section {
    padding: 100px 2rem;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 3rem;
    min-width: 60px;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 2rem;
    background: var(--secondary-color);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-form h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-block {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--gradient-dark);
    padding: 5rem 2rem 2rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.15);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
    margin-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom p span {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== Animations ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .slider-container {
        height: 500px;
    }
    
    .slide {
        width: 350px;
        height: 480px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(44, 24, 16, 0.98);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .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(8px, -8px);
    }

    .hero-section {
        min-height: 100vh;
        height: auto;
        max-height: none;
        padding: 90px 1.5rem 40px;
    }

    .hero-container,
    .gift-container,
    .about-container,
    .contact-container,
    .visit-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-auto-rows: 250px;
    }

    .visit-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .visit-map {
        height: 400px;
    }

    .slider-container {
        height: 450px;
        margin-top: 2rem;
    }

    .slide {
        width: 300px;
        height: 420px;
    }

    .slide.prev {
        transform: translate(-150%, -50%) rotateY(30deg) translateZ(-150px) scale(0.7);
    }

    .slide.next {
        transform: translate(50%, -50%) rotateY(-30deg) translateZ(-150px) scale(0.7);
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
    }

    .gift-content,
    .about-content {
        order: 1;
    }

    .gift-image {
        max-width: 100%;
    }

    .gift-image img {
        min-height: 350px;
        max-height: 450px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 80px 1rem 30px;
        min-height: 100vh;
        height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .stat-item h3 {
        font-size: 1.75rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }

    .slider-container {
        height: 380px;
        margin-top: 1rem;
    }

    .slide {
        width: 260px;
        height: 360px;
    }

    .slide.prev,
    .slide.next {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    .slider-controls {
        bottom: -50px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .collection-section,
    .gift-section,
    .about-section,
    .contact-section,
    .gallery-section,
    .visit-section {
        padding: 60px 1rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gift-content h2,
    .about-content h2,
    .contact-info h2,
    .visit-content h2 {
        font-size: 2rem;
    }

    .gift-image img {
        min-height: 300px;
        max-height: 400px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .gallery-tall,
    .gallery-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .visit-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-container {
        height: 320px;
    }

    .slide {
        width: 230px;
        height: 310px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-image {
        height: 280px;
    }

    .gift-badge {
        top: 20px;
        right: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
