/* SARAANSH Architecture Firm - Main Stylesheet */

/* Import Google Fonts */


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */

/* Navbar over hero - transparent and layered */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 10;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: transparent;
    box-shadow: none;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.logo:hover {
    color: #62111bff;
}

.nav-links {
    display: flex;
    list-style: none;
    color: #333333; 
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.homepage .nav-links {
    margin-top: 2.5rem; 
}

.nav-links a {
    text-decoration: none;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    color: #333333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0 1.5rem;
}
.homepage .nav-links a {
    text-decoration: none;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0 2.5rem;
}
.nav-links a:hover {
    color: #62111B;
}

/* Image-based separators for easy replacement */
.nav-links li {
    position: relative;
}

.nav-links li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('../images/nav-separator.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #62111bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #62111bff;
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 2rem 0;
}

.mobile-menu-links a {
    text-decoration: none;
    color: #333333;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: #62111bff;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/hero-background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f0bd1cff;
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Offset hero content for absolute navbar height */
.hero .hero-content {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: transparent;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: #62111B; /* Your brand's deep purple */
    color: #FFFFFF;
    border: none;
    border-radius: 50px; /* Creates the pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
    background: #62111bff;
    color: white;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333333;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}


/* Featured Projects Grid - homepage strict 3x2 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Only show first six items on homepage grid */
.projects-grid .project-card:nth-child(n+5) {
    display: none;
}

.project-card {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}

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

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card h3 {
    color: #333333;
    margin-bottom: 0.5rem;
}

.project-category {
    color: #62111B;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid #62111B;
    color: #62111B;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: #62111B;
    color: white;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    color: #333333;
    margin-bottom: 1rem;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- VISION SECTION BACKGROUND --- */

#vision-section {
    background-image: url('../images/vision-image.jpg'); /* Use '../' because the CSS file is inside the 'css' folder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Optional: Add an overlay for text readability */
    position: relative;
    z-index: 1;
}

#vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* 50% black overlay */
    z-index: -1;
}

@media (max-width: 600px) {
    #vision-section {
        min-height: 400px; /* Adjust as needed */
        background: url('../images/vision-image.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
    #vision-section::before {
        background-color: rgba(0, 0, 0, 0); /* only for overlay, makes text readable */
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; 
    margin-bottom: 4rem;
}

.team-member {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #62111B;
}

.team-member h4 {
    color: #62111B;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #62111B;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0px;
    text-align: center;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #62111B;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 3rem;
    color: #62111B;
    margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: #62111B;
    font-family: 'Playfair Display', serif;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    color: #62111B;
    font-weight: 600;
}

.testimonial-project {
    color: #62111B;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333333;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E5E5;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    font-family: 'Playfair Display', sans-serif;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #62111B;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #62111bff;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Footer */
/* --- MINIMALIST FOOTER STYLES --- */

footer {
    width: 100%;
    background-color: #f8f8f8; /* A very light grey background */
    color: #333333;
    text-align: center;
    padding-top: 1rem; /* Add some space above the main footer content */
}

/* Main footer content alignment */
.footer-main {
    display: flex;
    justify-content: center; /* Pushes contact info and social links to opposite ends */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; /* Centers the container */
    padding: 0 2rem; /* Adds some side padding */
    flex-wrap: wrap; /* Allows items to stack on small screens */
    gap: 1rem;
}

.footer-contact span {
    margin: 0 0.5rem; /* Space between email, separator, and phone */
}

.footer-social a {
    color: #333333;
    margin-left: 1.5rem; /* Space between social icons */
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #62111B; /* Your brand's highlight color */
}

/* Bottom bar styling */
.footer-bottom {
    background-color: #eaeaea; /* A slightly darker grey for contrast */
    padding: 1rem 0;
    margin-top: 1rem; /* Space between the main content and the bottom bar */
    font-size: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #555555
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* --- BACK TO TOP BUTTON --- */

#back-to-top-btn {
    display: none; /* Hidden by default */
    position: fixed; /* Keep it in place while scrolling */
    bottom: 30px;
    right: 30px;
    z-index: 99; /* Make sure it's on top of other content */
    border: none;
    outline: none;
    cursor: pointer;
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    background-image: url('../images/up-arrow.png'); /* Your replaceable icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7; /* Make it slightly transparent */
    transition: opacity 0.3s ease;
}

#back-to-top-btn:hover {
    opacity: 1; /* Fully opaque on hover */
}

