/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f3f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d48a9b;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d48a9b;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/api/placeholder/1200/800') center/cover;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.btn {
    display: inline-block;
    background-color: #d48a9b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

/* Gallery Container */
.gallery-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    position: relative;
}

/* Gallery */
.gallery {
    display: inline-flex;
    gap: 10px;
    padding: 0 20px;
}

/* Photo */
.photo {
    flex: 0 0 auto;
    width: 200px;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.photo:hover img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.photo.focused img {
    transform: scale(1.1);
    opacity: 1;
    z-index: 1;
}

/* Scroll Buttons */
.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

.scroll-button.left {
    left: 10px;
}

.scroll-button.right {
    right: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.service-header h3 {
    font-size: 22px;
    color: #d48a9b;
    margin: 0;
}

.service-header i {
    font-size: 18px;
    color: #d48a9b;
    transition: transform 0.3s ease;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.service-details p {
    margin: 10px 0;
    color: #666;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.service-details .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Active State */
.service-card.active .service-details {
    max-height: 200px;
    padding-top: 10px;
}

.service-card.active .service-header i {
    transform: rotate(180deg);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-img {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .contact-info {
        margin-right: 0;
        margin-bottom: 50px;
    }

    .photo {
        flex: 0 0 calc(50% - 10px);
    }
}

/* Testimonials Section */
.testimonial-container {
    display: flex;
    justify-content: space-between; /* Evenly spaces the testimonials */
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 20px; /* Adds spacing between testimonials */
    max-width: 900px;
    margin: auto;
}

.testimonial {
    flex: 1;
    min-width: 280px; /* Ensures responsiveness on smaller screens */
    max-width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    border: 3px solid #d48a9b;
}

.testimonial p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    color: #d48a9b;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 100%;
        max-width: 400px;
    }
}


/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f9f3f5, #ffe6eb);
    padding: 80px 0;
    text-align: center;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info, .contact-form {
    flex: 1;
    padding: 20px;
}

.contact-info h3 {
    font-size: 24px;
    color: #d48a9b;
    margin-bottom: 10px;
}

.contact-info p {
    color: #666;
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #333;
}

.contact-detail i {
    font-size: 20px;
    color: #d48a9b;
    margin-right: 10px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    font-size: 20px;
    color: #d48a9b;
    margin: 0 10px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #b36f81;
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #d48a9b;
    outline: none;
    box-shadow: 0 0 5px rgba(212, 138, 155, 0.5);
}

.btn {
    display: inline-block;
    background-color: #d48a9b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b36f81;
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, #d48a9b, #b36f81);
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd1dc;
}

/* Contact Info */
.footer-col p i {
    margin-right: 10px;
}

/* Social Icons */
.social-links {
    margin-top: 15px;
}

.social-links a {
    font-size: 20px;
    color: white;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #ffd1dc;
    transform: scale(1.2);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.newsletter-form .btn {
    background-color: #ffd1dc;
    color: #b36f81;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.newsletter-form .btn:hover {
    background-color: #ff99bb;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Portfolio Section */
.portfolio {
    background: #f9f3f5;
    padding: 60px 0;
    text-align: center;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #d48a9b;
    color: #d48a9b;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: #d48a9b;
    color: white;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Overlay Effect */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Modal Styles */
.portfolio-modal {
    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: 999;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* About Section */
/* About Section */
.about {
    background: #f9f3f5;
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

/* Gallery Styling */
.about-gallery {
    flex: 1;
    max-width: 400px;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    padding-bottom: 10px;
}

/* Gallery Container */
.gallery-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
}

/* Enable Scrollbar */
.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: #d48a9b;
    border-radius: 10px;
}

/* Photo Styling */
.photo {
    flex: 0 0 auto;
    width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.photo:hover img {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Right Side: About Text */
.about-text {
    flex: 2;
    text-align: left;
    opacity: 1;
    transform: translateY(0);
}

.about-text h3 {
    font-size: 28px;
    color: #d48a9b;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #d48a9b;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b36f81;
    box-shadow: 0 0 10px rgba(212, 138, 155, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .gallery-container {
        max-width: 100%;
    }

    .about-text {
        text-align: center;
    }
}




/* General Section Titles */
.section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 40px; /* Increased spacing */
    position: relative;
}

.section-title h2 {
    font-size: 36px; /* Larger font */
    font-weight: bold;
    color: #454545;
    text-transform: uppercase;
    letter-spacing: 2px; /* More spacing between letters */
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Underline Effect */
.section-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #d48a9b;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* Additional Spacing */
.about, .services, .portfolio, .contact {
    padding: 100px 0; /* More space between sections */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px; /* Slightly smaller for mobile */
    }
    
    .section-title h2::after {
        width: 60px;
        height: 3px;
    }
}





.service-card.active .service-details {
    max-height: 200px; /* Adjust as needed */
    padding-top: 10px;
    opacity: 1;
    visibility: visible;
}

.service-card.active .service-header i {
    transform: rotate(180deg);
}