/* Variables */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --spacing-sm: 0.3rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap');



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

html {
    scroll-behavior: smooth;
}


body {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: #fdeed6;
}



a{
    text-decoration: none;
    color: inherit;}

/* Header */
header {
    background-color: rgb(253, 253, 252);
    padding: var(--spacing-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    color: #b78261;
}

header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-left: 5%;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    list-style: none;
    margin-top: var(--spacing-sm);
    margin-right: 20%;
}

nav a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

nav a:hover {
    color: #b35209;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin-top: 60px;
}

.hero img {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-lg);
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #77350f;
    margin-bottom: var(--spacing-md);
}

.hero h2 {
    font-family: var(--font-heading);
    color: #b35209;
    font-size: 2rem;
}

.hero-text {
    margin: 0 auto;
    max-width: 800px;
    max-height: 1200px;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.41);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h3 {
    color: #913f0e;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 550;

}

.hero-text p {
    color: #cc8e5c;
    font-size: 1.3rem;
    line-height: 1.5;
}

.hero-text button {
    background-color: #b35209;
    font-size: 1rem;
    width: 30%;
    margin-top: 20px;
}

/* Services Section */
.services {
    background-color: #fdf7ea;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.services h2 {
    font-family: var(--font-heading);
    color: #77350f;
    font-size: 2.5rem;
}

.service-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: var(--spacing-lg);
    justify-content: space-evenly;
    gap: 30px;
}

.service-item {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 15px;
    border: 1px solid #fbe489;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease,box-shadow 0.3s ease;
    max-width: 280px;
    min-height: 250px;
    color: #b35209;
}

.service-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
    color: #77350f;
    padding: 10px
}

.service-item img {
    height: 50px;
}


/* Gallery Section */
.gallerysection {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #fdf9f0;
    text-align: center;
    color: #77350f;
    align-items: center;
}

.gallerysection h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.gallery {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    /* Create aspect ratio container */
    aspect-ratio: 16/9; /* Adjust this ratio based on your images */
}

.gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: none;
}

/* Automatic slideshow - Fixed timing */
.gallery img:nth-child(1) {
    animation: slideshow 9s infinite;
    animation-delay: 0s;
}

.gallery img:nth-child(2) {
    animation: slideshow 9s infinite;
    animation-delay: 3s;
}

.gallery img:nth-child(3) {
    animation: slideshow 9s infinite;
    animation-delay: 6s;
}

@keyframes slideshow {
    0% { opacity: 0; }
    11.11% { opacity: 1; }
    33.33% { opacity: 1; }
    44.44% { opacity: 0; }
    100% { opacity: 0; }
}


/* About Section */
.about {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    background-color: #fdfaf4;
}

.about h2 {
    font-family: var(--font-heading);
    color: #77350f;
    font-size: 2.5rem;
    margin-bottom: 30px;
    margin-top: 20px;
}

.about-content {
    max-width: 900px;
    display: flex;
    flex-direction: row;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    color: #bc6827;
    text-align: left;
    gap: 20px;
}

.about-content img {
    height: 240px;
    width: 240px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* Contact Section */
/* Contact Section */
.contact {
    padding: var(--spacing-xl) var(--spacing-md);
    background-color: #fdf7ea;
}

.contact h2 {
    color: #77350f;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}


.contact_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.contactthing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 60px;
    font-size: 20px;
    margin-left: var(--spacing-lg);
    color: #b35209;
}



.contacting{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

form {
    width: 500px;
    padding: var(--spacing-lg);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

input, textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid #f0e6d2;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fffef8;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #b35209;
}

input::placeholder, textarea::placeholder {
    color: #cc8e5c;
    opacity: 0.7;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    font-size: 1rem;
    max-width: 40%;
    min-width: 130px;
    margin-top: 20px;
    background-color: #b25109;
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: scale 0.3s ease;
}

button:hover {
    background-color: #a55d2b;
    scale: 1.1;
}

/* Footer */
footer {
    background-color: #77350f;
    padding-top: 20px;
    color: #fbe489;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer h4 {
    color: white;
}

footer p {
    margin-bottom: var(--spacing-sm);
}

.Bebaz{
    color: rgba(251, 228, 137, 0.21);
    font-weight: 600;
    scale: 0.8;
}

footer a {
    color:rgba(251, 228, 137, 0.21);
    text-decoration: none;
    transition: color 0.3s ease;
}


/* Responsive Design */
@media (min-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: var(--spacing-md) var(--spacing-xl);
    }

    nav ul {
        margin-top: 0;
    }

    .services .services {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .gallery .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 767px) {

    /* Center header content on mobile */
    header {
        text-align: center;
        flex-direction: column;
        padding: var(--spacing-md);
    }

    header h3 {
        margin-left: 0; /* Remove left margin */
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero img {
        width: 280px;
        height: 280px;
    }

    .hero-text {
        max-width: 90%;
        margin: 20px auto;
        padding: 15px;
        height: auto;
        min-height: 250px;
    }

    .hero-text h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .hero-text button {
        width: 50%;
        padding: 12px;
        font-size: 1.1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        display: none;
        margin-right: 0; /* Remove right margin */
    }

    .service-items {
        flex-direction: column;
        align-items: center;
    }

    .gallery {
        max-width: 90%;
        height: 300px;
    }

    .gallery-arrow {
        width: 40px;
        height: 60px;
        font-size: 16px;
    }

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

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

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact_wrapper{
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    form {
        width: 90%;
        max-width: 400px;
        padding: var(--spacing-md);
    }

    input, textarea {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }
}



