/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #E9E8E6;
    color: #333;
    line-height: 1.6;
}



/* Hero Section */
.hero {
    background: url('gold-texture.jpg') no-repeat center center/cover;
    color: #E9E8E6;
    padding: 150px 20px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5),
                inset 0 0 10px rgba(255, 215, 0, 0.3);
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-text p {
    font-size: 20px;
    font-weight: 300;
    margin: 10px 0 30px;
    animation: fadeIn 2s ease-in-out;
}

.hero-text button {
    background-color: #56442e;
    color: #E9E8E6;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    animation: fadeIn 2.5s ease-in-out;
}

.hero-text button:hover {
    background-color: #E9E8E6;
    color: #56442e;
    transform: translateY(-5px);
}

/* Hero Image Slideshow */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit:contain;
    opacity: 0;
    animation: slideShow 9s infinite;
}

.hero-image img:nth-child(1) {
    animation-delay: 0s;
}
.hero-image img:nth-child(2) {
    animation-delay: 3s;
}
.hero-image img:nth-child(3) {
    animation-delay: 6s;
}

/* Keyframe for image transitions */
@keyframes slideShow {
    0% { opacity: 0; }
    10% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-image {
        height: 300px;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-text p {
        font-size: 18px;
    }
    .hero-text button {
        font-size: 14px;
        padding: 10px 20px;
    }
    .hero-image {
        height: 250px;
        display: flex;
        justify-content: center;
    }
    .hero-image img {
        width: 90%;
        height: auto;
        position: relative;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 16px;
    }
    .hero-text button {
        font-size: 12px;
        padding: 8px 16px;
    }
    .hero-image {
        height: 200px;
        display: flex;
        justify-content: center;
    }
    .hero-image img {
        width: 100%;
        height: auto;
        position: relative;
    }
}
/*  content section */
:root {
    --primary: #5C191B;
    --accent: #FFD700;
    --bg: #f8f5f2;
}

.content {
    background-color: var(--bg);
    padding: 40px;
    text-align: center;
    position: relative;
}

.content h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    transition: color 0.3s ease-in-out;
}

.content h1:hover {
    color: var(--accent);
}

.image-with-content {
    display: flex;
    align-items: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.image-with-content:nth-child(even) {
    flex-direction: row-reverse;
}

.image-with-content img {
    width: 25%;
    height: auto;
    object-fit: cover;
    border-right: 5px solid var(--accent);
    transition: opacity 0.3s ease-in-out;
}

.image-with-content:nth-child(even) img {
    border-right: none;
    border-left: 5px solid var(--accent);
}

.image-with-content img:hover {
    opacity: 0.8;
}

.description {
    padding: 15px;
    flex: 1;
    color: var(--primary);
    font-size: 1rem;
    text-align: left;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Gold Design Section */
.gold-design {
    background-color: var(--primary);
    padding: 60px 20px;
    text-align: center;
    color: var(--bg);
}

.gold-content h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.gold-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero Image Slideshow */
.hero-image2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background-color: var(--bg);
    overflow: hidden;
    position: relative;
}

.hero-image2 img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
}

.hero-image2:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .image-with-content {
        flex-direction: column !important;
        text-align: center;
        max-width: 90%;
    }

    .image-with-content img {
        width: 60%;
        border-right: none;
        border-bottom: 5px solid var(--accent);
    }

    .image-with-content:nth-child(even) img {
        border-left: none;
    }

    .description {
        text-align: center;
    }
    
    .hero-image2 {
        height: 250px;
    }
}




/* About Section */
.about {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: auto;
}

.about h2 {
    font-size: 36px;
    font-weight: 600;
    color: #56442e;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
}

/* Services Section */
.services {
    text-align: center;
    padding: 80px 20px;
    background: #f4f4f4;
}

.services h2 {
    font-size: 36px;
    font-weight: 600;
    color: #56442e;
    margin-bottom: 40px;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-box {
    background: #5C191B;
    color: #FFD700;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.service-box1 {
    background: #5C191B;
    color: #c0c0c0;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-box1:hover
{
    background: #E9E8E6;
    color: #56442e;
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-box:hover {
    background: #E9E8E6;
    color: #56442e;
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-box h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}



/* ==============================
   General Styles
================================= */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* ==============================
   Gallery Layout
================================= */
.gallery-container1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* ==============================
   Gallery Images
================================= */
.gallery-item img {
    width: 20%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ==============================
   Lightbox (Image Preview)
================================= */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox .close:hover {
    color: #ff4757;
}

/* slidderrr  */
.slider-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    height: 300px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slider {
    display: flex;
    width: 300%;
    transition: transform 0.8s ease-in-out;
}

.slider img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* ==============================
   Responsive Styles
================================= */
@media (max-width: 768px) {
    .gallery h2 {
        font-size: 28px;
    }
    .gallery-container1 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .gallery-item img {
        height: 150px;
    }
    .prev, .next {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
   

    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 100%;
        max-width: 300px;
    }
}



