:root {
    --primary-color: #8B7D3A;
    --primary-color-rgb: 139, 125, 58;
    --secondary-color: #33241e;
    --text-color: #33241e;
    --light-text-color: #5c4c42;
}
/* Additional styles */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}
:root {
    --primary-color: #8B7D3A;
    --primary-color-rgb: 139, 125, 58;
    --secondary-color: #33241e;
    --text-color: #33241e;
    --light-text-color: #5c4c42;
    --extra-light-text-color: #9b8677;
    --background-color: #f9f5f2;
    --background-color-rgb: 249, 245, 242;
    --white-color: #ffffff;
    --white-color-rgb: 255, 255, 255;
    --border-color: #e5dcd3;
    --font-montserrat: 'Montserrat', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-montserrat);
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: url('/images/optimized/white-rose.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--background-color-rgb), 0.9);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    padding: 30px 0;
    text-align: center;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.logo {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    position: relative;
}

.logo::before, .logo::after {
    content: '❀';
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(var(--primary-color-rgb), 0.4);
}

.logo::before {
    left: -34px;
}

.logo::after {
    right: -34px;
}

.tagline {
    font-size: 14px;
    letter-spacing: 1.5px;
    color: var(--extra-light-text-color);
    text-transform: uppercase;
}

.hero {
    padding: 60px 0;
    text-align: center;
    background: rgba(var(--white-color-rgb), 0.8);
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('/images/optimized/flowers-gold.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.2;
}

.hero::before {
    top: -20px;
    left: -20px;
}

.hero::after {
    bottom: -20px;
    right: -20px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text-color);
}

.gallery {
    padding: 40px 0;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/optimized/white-rose.jpg') no-repeat;
    background-size: 200px;
    background-position: right 20px top 20px;
    opacity: 0.05;
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
}

.gallery-caption h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 14px;
    color: var(--extra-light-text-color);
}

.about {
    padding: 60px 0;
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 6px;
}

.cta {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(var(--background-color-rgb), 0.9);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(var(--primary-color-rgb), 0.05) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(var(--primary-color-rgb), 0.05) 50%, 
        rgba(var(--primary-color-rgb), 0.05) 75%, 
        transparent 75%, 
        transparent);
    background-size: 40px 40px;
    z-index: -1;
}

.cta h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.cta h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text-color);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    margin-right: 10px;
    position: relative;
    z-index: 1;
}

.social-link span {
    position: relative;
    z-index: 1;
}

footer {
    padding: 40px 0;
    text-align: center;
    background-color: var(--white-color);
    border-top: 1px solid var(--border-color);
}

footer p {
    font-size: 14px;
    color: var(--extra-light-text-color);
}

@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }
    
    .hero h1, .about-text h2, .cta h2 {
        font-size: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-btn:hover,
.language-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

@media (max-width: 768px) {
    .language-switcher {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }
}

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

.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.4s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.loading-indicator.active {
    transform: scaleX(1);
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.4));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 14px rgba(var(--primary-color-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
}

.btn-secondary {
    background: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Floating elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.float-element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    animation: float 15s ease-in-out infinite;
}

.float-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    background-image: url('/images/optimized/gold-chain.jpg');
    animation-delay: 0s;
}

.float-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    background-image: url('/images/optimized/flowers-gold.jpg');
    animation-delay: 3s;
}

.float-3 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 20%;
    background-image: url('/images/optimized/white-rose.jpg');
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(5px) rotate(-2deg);
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

/* Additional decorative elements */
.gallery-grid::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(var(--primary-color-rgb), 0.5), transparent);
}

.decorative-flower {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.decorative-flower-left {
    background-image: url('/images/optimized/flowers-gold.jpg');
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.decorative-flower-right {
    background-image: url('/images/optimized/white-rose.jpg');
    bottom: 20px;
    right: 20px;
    transform: rotate(15deg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .float-element {
        transform: scale(0.7);
    }
}
