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

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #252525;
    background-color: #3b0c0f;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(59, 12, 15, 0.2);
    z-index: 1000;
    padding: 0;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

/* Ensure logo image fits nicely in 70px header */
.nav-logo img {
    height: 96px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #cccccc;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 0px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    min-height: calc(100vh - 0px);
}

.hero-text h1 {
    font-size: 73px;
    font-weight: 700;
    line-height: 73px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Vertically center hero text within its column, keep left-aligned */
.hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.room-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.room-tag {
    background-color: transparent;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    position: relative;
}

/* Small white right triangle on upper-left side of each tag */
.room-tag::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -6px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 8px solid #ffffff;
}

/* Adjust spacing so triangle doesn't overlap text */
.room-tag {
    padding-left: 10px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 52px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 300;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #3b0c0f;
}

.btn-primary {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #3b0c0f;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}

.hero-image {
    height: 100%;
    margin: 0 -120px 0 0;
}

@media (max-width: 768px) {
    .hero-image {
        margin: 0;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* About Section */
.about {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 0px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 0px);
}

.about-text h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 36px;
    text-align: right;
}

.about-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.about-image {
    height: 100%;
    margin: 0 0 0 -120px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

/* Services Section */
.services {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 80px 0;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 13.4px;
    font-weight: 700;
    line-height: 16px;
    position: relative;
    text-align: center;
    padding: 14px 0;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Top and bottom lines for service titles */
.service-item h3::before,
.service-item h3::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background-color: #ffffff;
    margin: 24px auto;
}

.service-item h3::before {
    margin-top: 0;
}

.service-item h3::after {
    margin-bottom: 0;
}

/* Projects Section */
.projects {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 80px 0;
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-content h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project-item h3 {
    font-size: 13.4px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Clients Section */
.clients {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 0px;
    background-image: linear-gradient(rgba(59, 12, 15, 0.9), rgba(59, 12, 15, 0.9)), url('../images/client-section-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.clients-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clients-content h2 {
    font-size: 38px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 60px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial {
    text-align: left;
}

.testimonial p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial cite {
    font-size: 16px;
    font-weight: 600;
}

/* Decorative line and quote at the top of each testimonial */
.testimonial {
    position: relative;
    padding-top: 36px;
}

/* Quote mark (left) and horizontal line (right), side by side and centered as a group */
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: 0;
    /* left: calc(50% - 78px); centers group of quote (24) + gap (12) + line (120) */
    left: 0;
    font-size: 36px;
    line-height: 1;
    color: #ffffff;
    width: 24px; /* fixes quote width for centering math */
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
}

.testimonial::after {
    content: "";
    position: absolute;
    top: 12px; /* vertically align with mid of quote */
    /* left: calc(50% - 78px + 36px); 24 (quote) + 12 (gap) */
    left: 36px;
    width: 320px;
    height: 1px;
    background-color: #ffffff;
}

/* Contact Section */
.contact {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-content h2 {
    font-size: 36px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.contact-info p {
    font-size: 12px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
    align-items: center;
}

/* Social links */
.social-links {

    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-link {
    color: #3b0c0f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #3b0c0f;
    border: 2px solid #ffffff;
}

.social-link:hover {
    opacity: 0.8;
}

.contact-details a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.contact-details a:hover {
    color: #cccccc;
}

.contact-detail {
    font-size: 12px;
    margin-bottom: 24px;
    border: 2px solid #ffffff;
    padding: 10px 50px 10px 20px;
    border-radius: 40px;
    min-width: 300px;
    text-align: left;
}

.contact-detail.social {
    border: none;
    padding: 0 20px;
    background-color: #ffffff;
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 4px;
}

.social-links a {
    border-radius: 50%;
}

.contact-detail.social p {
    color: #3b0c0f;
    font-size: 12px;
    margin-bottom: 0;
    font-weight: 700;
}

.contact-details p.contact-schedule {
    font-size: 12px;
    margin-bottom: 0;
}

.contact-schedule p {
    color: #3b0c0f;
    text-align: left;
    font-size: 12px;
    margin-bottom: 0;
    border: 2px solid #ffffff;
    padding: 10px 50px;
    border-radius: 20px;
    min-width: 300px;
    background-color: #ffffff;
}

.contact-info-header-right {
    width: 50%;
    padding-left: 20px;
}

.contact-info-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
}

.contact-info-header h3 {
    font-size: 20px;
    font-weight: 400;
    text-align: left;

}

.contact-schedule p span {
    margin-top: 10px;
    display: block;
}

/* Footer */
.footer {
    background-color: #3b0c0f;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
}

.footer-content a:hover {
    color: #593d3f;
}

.contact-info-header-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 65px;
        line-height: 65px;
    }

    .contact-info-header-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Larger logo on mobile for better visibility */
    .nav-logo img {
        height: 90px;
    }
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #3b0c0f;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-image {
        height: auto;
        margin: 0;
    }

    .hero-image img {
        height: auto;
    }
    
    .hero-text h1 {
        font-size: 60px;
        line-height: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 36px;
        line-height: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    /* Contact section mobile styles */
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-detail {
        min-width: auto;
        width: 100%;
    }
    
    /* .contact-detail.social {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    } */
    
    .contact-schedule {
        text-align: center;
    }

    .contact-info-header-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    
    .about-text h2 {
        font-size: 28px;
        line-height: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .room-tags {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    
    /* Additional mobile optimizations */
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content,
    .about-content,
    .services-content,
    .projects-content,
    .clients-content,
    .contact-content {
        padding: 0 15px;
    }
    
    .room-tags {
        gap: 10px;
    }
    
    .room-tag {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 11px;
    }

    .contact-info-header-right {
        display: none;
    }

    .contact-info-header-mobile {
        display: block;
    }
}