@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #800020;
    --burgundy-dark: #5a0017;
    --burgundy-light: #a0002a;
    --burgundy-accent: #b30033;
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --cream: #faf8f3;
    --charcoal: #2c2c2c;
    --dark-gray: #4a4a4a;
    --light-gray: #e8e8e8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.8) 0%, rgba(90, 0, 23, 0.8) 50%, rgba(160, 0, 42, 0.8) 100%);
    background-attachment: fixed;
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.8) 0%, rgba(90, 0, 23, 0.8) 50%, rgba(160, 0, 42, 0.8) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--cream);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    letter-spacing: 2px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Liquid Glass Effect */
.liquid-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Introduction Section */
.intro {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--cream);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.intro-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    text-align: justify;
}

/* Gallery Section */
.gallery {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Swipeable Gallery */
.gallery-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
}

.gallery-swiper-container {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.gallery-swipe-item {
    min-width: 100%;
    flex-shrink: 0;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 0, 32, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(128, 0, 32, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-add-btn {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 0, 32, 0.3);
    border: 2px dashed rgba(128, 0, 32, 0.5);
    border-radius: 15px;
    color: var(--cream);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-add-btn:hover {
    background: rgba(128, 0, 32, 0.5);
    border-color: rgba(128, 0, 32, 0.8);
}

/* Product Rows Layout */
.product-rows-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.product-row {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.product-header {
    margin-bottom: 25px;
}

.product-name-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--cream);
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.product-name-input:focus {
    border-color: var(--burgundy);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(128, 0, 32, 0.3);
}

.product-photos-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-block {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    flex-shrink: 0;
}

.photo-block.cover-photo {
    border: 2px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.05);
}

/* Photo Row with Swipeable Container */
.photo-row {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow-x: hidden;
}

.photo-swipeable-container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: nowrap;
    touch-action: pan-x; /* Enable horizontal swipe */
}

.swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 5px;
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.swipe-dot.active {
    background: rgba(255, 215, 0, 0.9);
}

.swipe-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 5px;
}

@media (max-width: 768px) {
    .swipe-hint {
        display: block;
    }
}

@media (min-width: 769px) {
    .swipe-hint {
        display: none;
    }
}

.photo-container {
    width: 100%;
    height: 300px;
    background: rgba(128, 0, 32, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.photo-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 200;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.photo-delete-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.change-image-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(128, 0, 32, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 200;
    border: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.change-image-btn:hover {
    background: rgba(128, 0, 32, 1);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.4);
}

.photo-nav-prev,
.photo-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 0, 32, 0.8);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 150;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.photo-nav-prev {
    left: 10px;
}

.photo-nav-next {
    right: 10px;
}

.photo-nav-prev:hover,
.photo-nav-next:hover {
    opacity: 1;
    background: rgba(128, 0, 32, 1);
    transform: translateY(-50%) scale(1.1);
}

.photo-delete-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: rgba(220, 53, 69, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    color: white !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
}

.photo-delete-btn:hover {
    background: rgba(220, 53, 69, 1) !important;
    transform: scale(1.1) !important;
}

.photo-container .image-label {
    z-index: 10 !important;
    pointer-events: auto !important;
}

.text-delete-btn {
    position: absolute !important;
    top: -12px !important;
    right: -12px !important;
    background: rgba(220, 53, 69, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    color: white !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    z-index: 10000 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
}

.text-delete-btn:hover {
    background: rgba(220, 53, 69, 1) !important;
    transform: scale(1.1) !important;
}

.photo-container .uploaded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.photo-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    margin-bottom: 10px;
}

.control-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.control-section label {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    margin-bottom: 5px;
}

.control-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-input-wrapper span {
    color: white;
    font-size: 0.85rem;
    min-width: 20px;
}

.control-input-wrapper input {
    width: 60px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.control-input-wrapper input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.apply-controls-btn {
    padding: 10px 20px;
    background: rgba(128, 0, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.apply-controls-btn:hover {
    background: rgba(128, 0, 32, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.4);
}

.add-photo-btn {
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    padding: 15px 20px;
    background: rgba(128, 0, 32, 0.3);
    border: 2px dashed rgba(128, 0, 32, 0.5);
    border-radius: 10px;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: block !important;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
    box-sizing: border-box;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    text-align: center;
}

.add-photo-btn:hover {
    background: rgba(128, 0, 32, 0.5);
    border-color: rgba(128, 0, 32, 0.8);
    transform: translateY(-2px);
}

.add-product-btn {
    width: 100%;
    padding: 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px dashed rgba(212, 175, 55, 0.5);
    border-radius: 15px;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.add-product-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

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

.image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(128, 0, 32, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

/* Override for feature images - no cropping but keep rounded corners */
.feature-image .image-placeholder {
    height: auto;
    min-height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

.feature-image .image-placeholder img,
.feature-image .image-placeholder .uploaded-image {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
    max-height: none;
    position: relative;
    display: block;
}

/* Image Scaling Controls */
.image-scale-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editable-image:hover .image-scale-controls {
    opacity: 1;
}

.scale-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.scale-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.scale-indicator {
    color: white;
    font-size: 12px;
    padding: 0 8px;
    display: flex;
    align-items: center;
}

.image-placeholder.large {
    height: 500px;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--burgundy);
    font-style: italic;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Delete Button for Sections */
.section-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 100;
    opacity: 1 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

section:hover .section-delete-btn {
    opacity: 1 !important;
}

.section-delete-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

section {
    position: relative;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.8) 0%, rgba(225, 48, 108, 0.6) 100%);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.8) 0%, rgba(37, 211, 102, 0.6) 100%);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

.contact-btn.instagram:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 1) 0%, rgba(225, 48, 108, 0.8) 100%);
}

.contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 1) 0%, rgba(37, 211, 102, 0.8) 100%);
}

.contact-btn-icon {
    font-size: 1.3rem;
}

.feature-block {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.feature-block.reverse {
    flex-direction: column-reverse;
}

.feature-image {
    width: 100%;
    margin-bottom: 30px;
}

.feature-image .image-placeholder,
.feature-image [data-image-id^="feature-image"] {
    height: auto;
    min-height: 300px;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image .image-placeholder img,
.feature-image .image-placeholder .uploaded-image,
.feature-image [data-image-id^="feature-image"] img,
.feature-image [data-image-id^="feature-image"] .uploaded-image {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
    max-height: none;
    display: block;
    max-width: 100%;
}

/* Specifically fix feature-image-3 to fit image size exactly */
.feature-image [data-image-id="feature-image-3"] {
    height: auto;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
}

.feature-image [data-image-id="feature-image-3"] img,
.feature-image [data-image-id="feature-image-3"] .uploaded-image {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.feature-text {
    width: 100%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
}

/* Large Image Section */
.large-image {
    position: relative;
    padding: 0;
    margin: 80px 0;
    overflow: hidden;
}

.large-image .image-placeholder.large {
    width: 100%;
    height: 600px;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(128, 0, 32, 0.9), transparent);
    padding: 60px 20px 40px;
    color: var(--cream);
}

.overlay-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-align: center;
}

.overlay-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 40px;
}

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

.testimonial-image-placeholder {
    width: 100%;
    height: auto;
    min-height: 350px;
    background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy) 100%);
    border: 1px solid rgba(128, 0, 32, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.testimonial-image-placeholder img,
.testimonial-image-placeholder .uploaded-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    max-height: none;
    display: block;
}

.testimonial-label {
    font-size: 0.85rem;
    color: var(--cream);
    font-style: italic;
    letter-spacing: 1px;
}

/* Brand Showcase */
.brand-showcase {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-align: justify;
}

.brand-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.brand-image .image-placeholder {
    height: 250px;
}

/* Story Section */
.story {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-image {
    width: 100%;
    margin-bottom: 40px;
}

.story-content {
    width: 100%;
}

.story-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    text-align: justify;
}

/* Final Image Section */
.final-image {
    padding: 0;
    margin: 80px 0;
}

/* Closing Section */
.closing {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--cream), var(--burgundy-dark));
    color: var(--cream);
}

.closing .section-title {
    color: var(--gold-light);
}

.closing-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    text-align: center;
}

/* Footer */
.footer {
    padding: 60px 20px;
    background-color: var(--burgundy-dark);
    text-align: center;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--cream);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-subtext {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold-light);
    text-transform: uppercase;
}

/* Responsive adjustments for very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .testimonial-image-placeholder {
        min-height: 250px;
        height: auto;
    }
    
    .testimonial-image-placeholder img,
    .testimonial-image-placeholder .uploaded-image {
        object-fit: contain;
        height: auto;
    }
    
    .image-placeholder.large {
        height: 400px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Editor Styles */
.save-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.save-btn {
    background: var(--burgundy);
    color: var(--cream);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.save-btn:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.save-btn:active {
    transform: translateY(0);
}

.save-status {
    background: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--burgundy);
}

/* Editable Text Styles */
.editable-text {
    position: relative;
    min-height: 1.2em;
    outline: none;
    transition: background-color 0.2s ease;
}

.editable-text:focus {
    outline: 2px dashed var(--burgundy);
    outline-offset: 2px;
    background-color: rgba(128, 0, 32, 0.05);
    border-radius: 2px;
}

/* Editable Image Styles */
.editable-image {
    position: relative;
    cursor: pointer;
}

.image-input {
    display: none;
}

.image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(128, 0, 32, 0.9);
    color: var(--cream);
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.editable-image:hover .image-label {
    opacity: 1;
    pointer-events: auto;
}

.editable-image .uploaded-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
}

.placeholder-text {
    z-index: 1;
}

.editable-image:hover {
    border: 2px dashed var(--burgundy);
}

.editable-image.has-image .image-label {
    opacity: 0.7;
}

.editable-image.has-image:hover .image-label {
    opacity: 1;
}

/* Mobile adjustments for save button */
/* iPhone and mobile responsive styles */
@media (max-width: 480px) {
    .save-controls {
        top: 10px;
        right: 10px;
    }
    
    .save-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .save-status {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    /* Fix container overflow */
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix sections */
    section {
        padding: 40px 15px !important;
        margin: 10px !important;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Fix images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .image-placeholder {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .feature-image .image-placeholder,
    .feature-image [data-image-id^="feature-image"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .feature-image [data-image-id="feature-image-3"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix product rows */
    .product-row {
        padding: 20px 15px;
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .photo-swipeable-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .photo-block {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .photo-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Fix testimonial grid */
    .testimonial-grid {
        gap: 15px;
        margin-top: 30px;
    }
    
    /* Fix hero section */
    .hero {
        padding: 30px 15px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* iPhone specific (393px - iPhone 15 Pro) */
@media (max-width: 430px) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        padding: 30px 10px !important;
        box-sizing: border-box;
    }
    
    .image-placeholder,
    .photo-container,
    .feature-image,
    .feature-image .image-placeholder,
    .feature-image [data-image-id^="feature-image"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    img,
    .uploaded-image {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        box-sizing: border-box;
    }
    
    .hero-content,
    .feature-block,
    .product-row,
    .photo-row,
    .swipeable-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}
