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

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

/* Section Styles */
section {
    padding: 60px 0;
    margin-bottom: 40px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 15px;
}

h2{
   
    display: block;
    font-weight: 800;
    font-size: 2.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.btn, .cta-button, button[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(58, 38, 24, 0.7);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn:hover, .cta-button:hover, button[type="submit"]:hover {
    
    background-color: #a78065;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background-color: #3a2618;
    color: #ffffff;
}

.contrast-btn {
    background-color: #8b6c4e;
    color: #ffffff;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-text);
}

.circular-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    margin-left: 15px;
    letter-spacing: 1.2px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.logo-container h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
}

nav ul li {
    margin-left: 25px;
    white-space: nowrap;
}

nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 3px;
}

/* About Section Styles */
.about-section {
    background: url('https://storage.googleapis.com/cloudaio/images/hotel/9879d39f-4d35-4000-b7c4-1ece80a1bc94/68053/SECPE-SPA-Lobby-Entrance-1-RNDR.jpg') center/cover no-repeat;
    position: relative;
    color: var(--dark-text);
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.47);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

/* Improve readability in About Us paragraph content */
.about-section .about-text p {
    font-weight: 700; /* make text bold */
}

.about-section .section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text {
    margin-top: 30px;
}

.about-text-container {
    background-color:  rgb(139 135 135 / 40%);
    border-radius: 12px;
    padding: 40px;

    color: #333;
}

.about-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Services Section Styles */
.services-section {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.portfolio-container {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.portfolio-item {
    flex: 0 0 calc(50% - 20px);
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}



.prev-btn, .next-btn {
    background-color: #3a2618;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #8b6c4e;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

.portfolio-button-container {
    margin-top: 40px;
}

/* Why Us Section Styles */
.why-us-section {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    margin-bottom: 20px;
}

.reason-icon img {
    width: 60px;
    height: 60px;
}

.reason-card h3 {
    color: var(--primary-color);
}

/* Reviews Section Styles */
.reviews-section {
    padding: var(--section-padding);
    background-color: #f9f5f0;
    margin-top: 40px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.review-card {
    border: 1px solid #e6dfd1;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(139, 108, 78, 0.1);
    text-align: left;
    transition: all 0.3s ease;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-menu-btn {
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    padding: 5px;
    margin: 0;
    display: block;
}

.edited-label {
    font-size: 12px;
    color: #777;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.review-date {
    font-size: 0.85rem;
    color: #777;
}

.rating {
    color: #ffc107;
}

.review-text {
    font-style: italic;
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #bd8c69;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Verification popup (matches review form styling, horizontal rectangle) */
.verification-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 700px;
    background-color: #e6dfd1; /* same as .review-form-container */
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 1001;
}
.verification-message .verification-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}
.verification-message .verification-content p {
    margin: 8px 0;
}
.verification-message .verification-content {
    text-align: center;
}
.verification-message .verification-content .btn {
    margin: 16px auto 0;
    display: inline-block;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.review-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.star-rating {
    display: flex;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating i {
    margin-right: 5px;
}

.star-rating i.fas {
    color: #ffc107;
}

/* Team Section Styles */
.team-section {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    flex: 0 1 350px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific adjustment for manager photo to prevent head cropping */
.team-member:nth-child(2) .member-image img {
    object-position: center 35%;
}

.team-member h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

.member-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.member-bio {
    padding: 0 20px 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 0 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact Section Styles */
.contact-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 350px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-form {
    flex: 1 1 500px;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer Styles */
footer {
    background-color: #3a2618;
    color: #ffffff;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3 {
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-newsletter {
    flex: 1 1 300px;
}

.footer-newsletter h3 {
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    font-size: 1rem;
}

.footer-newsletter button {
    padding: 0 20px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Page Styles */
.gallery-page, .furniture-gallery-section {
    padding: 80px 0;
}

/* Site-wise Works Styles */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.site-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 350px;
}

.site-item:hover {
    transform: translateY(-10px);
}

.site-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-item:hover img {
    transform: scale(1.1);
}

.site-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.site-item:hover .site-item-overlay {
    transform: translateY(0);
}

.site-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.site-item-overlay p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.view-project-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background-color: #2a1c10;
    transform: translateY(-2px);
}

/* Furniture Gallery Styles */
.furniture-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.furniture-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 10px 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.furniture-btn:active {
    transform: scale(0.95);
}

.furniture-btn.active {
    background-color: var(--primary-color);
    color: #3a2618;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.furniture-btn:hover {
    background-color:  #a78065;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.furniture-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

.furniture-item:hover {
    transform: translateY(-10px);
}

.furniture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.furniture-item:hover img {
    transform: scale(1.1);
}

.furniture-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.furniture-item:hover .furniture-item-overlay {
    transform: translateY(0);
}

.furniture-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.furniture-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .services-container {
        justify-content: center;
    }
    
    .service-card {
        flex: 1 1 calc(50% - 30px);
    }
    
    .team-container {
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-item {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .about-section {
        height: auto;
        padding: 150px 5% 80px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .service-card {
        flex: 1 1 100%;
    }
    
    .reasons-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-categories {
        flex-wrap: wrap;
    }
    
    .category-btn {
        margin: 5px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox overlay for fullscreen image viewing */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-overlay.active { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.lightbox-image { 
  max-width: 100%; 
  max-height: 85vh; 
  object-fit: contain; 
  border-radius: 6px;
}
.lightbox-prev, .lightbox-next, .lightbox-close {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease;
}
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  top: 24px;
  right: 24px;
  transform: none;
  width: 38px;
  height: 38px;
  font-size: 24px;
}

@media (max-width: 600px) {
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { right: 12px; }
}
/* Mini modal styles */
.mini-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.mini-modal {
    background: #fff;
    border: 1px solid #e6dfd1;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 420px;
    max-width: 90vw;
}

.mini-modal-header {
    padding: 14px 18px;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid #f0ebe4;
}

.mini-modal-body {
    padding: 16px 18px;
}

.mini-modal-input {
    width: 100%;
    min-height: 90px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.mini-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid #f0ebe4;
}

.mini-modal-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.mini-modal-btn.primary {
    background: var(--primary-color, #3a2618);
    color: #fff;
    border: 1px solid #3a2618;
    min-width: 96px;
    font-weight: 600;
}

.mini-modal-btn.secondary {
    background: #eee;
    color: #333;
    min-width: 96px;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.review-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.star-rating {
    display: flex;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating i {
    margin-right: 5px;
}

.star-rating i.fas {
    color: #ffc107;
}

/* Team Section Styles */
.team-section {
    padding: var(--section-padding);
    background-color: var(--background-color);
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    flex: 0 1 350px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific adjustment for manager photo to prevent head cropping */
.team-member:nth-child(2) .member-image img {
    object-position: center 35%;
}

.team-member h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

.member-role {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.member-bio {
    padding: 0 20px 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0 0 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact Section Styles */
.contact-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 350px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-form {
    flex: 1 1 500px;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer Styles */
footer {
    background-color: #3a2618;
    color: #ffffff;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h3 {
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-newsletter {
    flex: 1 1 300px;
}

.footer-newsletter h3 {
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    font-size: 1rem;
}

.footer-newsletter button {
    padding: 0 20px;
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Page Styles */
.gallery-page, .furniture-gallery-section {
    padding: 80px 0;
}

/* Site-wise Works Styles */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.site-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 350px;
}

.site-item:hover {
    transform: translateY(-10px);
}

.site-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-item:hover img {
    transform: scale(1.1);
}

.site-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.site-item:hover .site-item-overlay {
    transform: translateY(0);
}

.site-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.site-item-overlay p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.view-project-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background-color: #2a1c10;
    transform: translateY(-2px);
}

/* Furniture Gallery Styles */
.furniture-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.furniture-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 10px 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.furniture-btn:active {
    transform: scale(0.95);
}

.furniture-btn.active {
    background-color: var(--primary-color);
    color: #3a2618;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.furniture-btn:hover {
    background-color:  #a78065;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.furniture-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 300px;
}

.furniture-item:hover {
    transform: translateY(-10px);
}

.furniture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.furniture-item:hover img {
    transform: scale(1.1);
}

.furniture-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.furniture-item:hover .furniture-item-overlay {
    transform: translateY(0);
}

.furniture-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.furniture-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .services-container {
        justify-content: center;
    }
    
    .service-card {
        flex: 1 1 calc(50% - 30px);
    }
    
    .team-container {
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-item {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .about-section {
        height: auto;
        padding: 150px 5% 80px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .service-card {
        flex: 1 1 100%;
    }
    
    .reasons-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-categories {
        flex-wrap: wrap;
    }
    
    .category-btn {
        margin: 5px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox overlay for fullscreen image viewing */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-overlay.active { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.lightbox-image { 
  max-width: 100%; 
  max-height: 85vh; 
  object-fit: contain; 
  border-radius: 6px;
}
.lightbox-prev, .lightbox-next, .lightbox-close {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease;
}
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  top: 24px;
  right: 24px;
  transform: none;
  width: 38px;
  height: 38px;
  font-size: 24px;
}

@media (max-width: 600px) {
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { right: 12px; }
}


/* Hamburger Toggle */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}




/* Mobile Responsiveness Overrides */
@media screen and (max-width: 600px) {
    header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255);
    position: absolute;
    top: 90px;
    /* opacity:0.4; */
    left: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav ul li {
    width: 100%;
    border-top: 1px solid #eee;
  }

  nav ul li a {
    display: block;
    padding: 15px 0;
    width: 100%;
  }

  nav.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

    .about-section {
        padding: 100px 5% 60px;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .services-container {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .reasons-container,
    .reviews-container,
    .gallery-grid,
    .furniture-grid,
    .sites-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-container {
        flex-direction: column;
    }

    .portfolio-item,
    .furniture-item,
    .site-item {
        width: 100%;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    /* img */

    img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Portfolio / Gallery / Furniture Images */
.portfolio-item img,
.furniture-item img,
.site-item img,
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

/* contact us */

.contact-container {
  flex-direction: column;
  gap: 20px;
  padding: 20px 25px 20px 15px; /* top, right, bottom, left */
}

.contact-form,
.contact-info {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background: #8b5e3c;
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #704a2e;
}

/* Portfolio Section - Mobile View */
.portfolio-container {
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 25px;
}

.portfolio-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 15px;
  background: #fff;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
}

.portfolio-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #3e2723;
}

.portfolio-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  padding: 0 10px;
}

.portfolio-item:nth-child(n+5) {
    display: none;
  }

  .carousel-nav,
  .prev-btn,
  .next-btn {
    display: none !important;
  }

/* ============================= */
/* Services Section - Mobile View */
/* ============================= */
.services-container {
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 20px;
}

.service-card {
  width: 100%;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #3e2723;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  padding: 0 10px;
}

/* Meet Our Team - Fix Hidden Names on Mobile */
.team-section {
  padding: 60px 20px;
  text-align: center;
}

.team-container {
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 0 10px;
}

.team-member {
  width: 100%;
  max-width: 360px;
  text-align: center;
  padding: 20px 15px;
  position: relative;
  overflow: visible; /* ensures text is never hidden */
}

.member-image {
  margin-bottom: 15px; /* adds space below image */
}

.member-image img {
  width: 100%;
  max-width: 260px; /* keeps the image nicely scaled */
  height: auto;
  border-radius: 10px; /* small rounded corners instead of circle */
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 3px solid #caa472;
}

.team-member h3 {
  margin-top: 10px; /* pushes name below image */
  font-size: 1.2rem;
  color: #3e2723;
}

.member-role {
  font-size: 1rem;
  color: #a47a4c;
  margin-bottom: 8px;
}

.member-bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  padding: 0 5px;
}


}

@media (max-width: 600px) {
  .review-form-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh; /* keep form visible */
    overflow-y: auto; /* allow scroll inside */
    padding-bottom: 60px; /* prevent button cutoff */
  }

  /* optional: make inputs more mobile-friendly */
  .review-form-container input,
  .review-form-container textarea {
    font-size: 1rem;
  }
}

.review-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.review-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.reviewer-name { font-weight:600; }
.review-stars { font-size:18px; letter-spacing:1px; }
.review-text { color:#333; margin:0; white-space:pre-wrap; }

.review-form-container {
  display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
  z-index:1001; background:#fff; padding:24px; border-radius:14px; width:min(560px,90vw);
  box-shadow:0 20px 80px rgba(0,0,0,.25);
}
.overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1000; }
.modal-close { position:absolute; right:14px; top:10px; cursor:pointer; font-size:24px; }
.verification-message {
  display:none; position:fixed; inset:0; z-index:1002; background:rgba(0,0,0,.5);
  display:flex; align-items:center; justify-content:center;
}
.verification-content { background:#fff; padding:24px; border-radius:12px; width:min(520px,90vw); text-align:center; }

