@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Montserrat:wght@300;400;600&display=swap');
:root {
    --primary-color: #000000;
    --secondary-color: #f4f4f4;
    --accent-color: #000000; /* A golden accent, can be adjusted */
    --text-color: #000000;
    --bg-color: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}


a {
    text-decoration: none;
    color: var(--accent-color);
}

ul {
    list-style: none;
}

h1, h2 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

header {
    
    background: var(--bg-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 10rem;
}


.container {
    padding-left: 10rem;
}


header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 1.5rem;
}

header nav ul li a {
    color: var(--primary-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-color);
}

main {
    padding-top: 70px; /* Adjust based on header height */
}

.hero {
  height: 60vh;
  min-height: 400px;
  max-height: 500px;
  background-image: url('assets/DSC_0012\ -\ Copy.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 10;
  display: flex;
  align-items: center;
  position: static;
  padding: 0;
}

#projects-gallery {
    padding-left: 10rem;
    text-align: left;
}

#projects-gallery .page-title,
#projects-gallery .page-subtitle {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}


/* Optional: Add an overlay for better text readability on hero image */
/*
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust color and opacity (e.g., 0.3 for 30% black) */
/* z-index: 1; */ /* Ensure it's below the content */
/* }

.hero-content {
    position: relative; /* Ensure content is above overlay */
/* z-index: 2; */
/* }
*/

.contact-follow-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 0rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    gap: 2rem;
}

.contact-section
 {  flex: 1 1 0;
    padding: 0;
    margin: 0;
}





@media (max-width: 900px) {
    .contact-follow-row {
        flex-direction: column;
        padding-left: 2rem;
        padding-right: 2rem;
        gap: 2rem;
    }
    .follow-section {
        text-align: left;
    }
}
@font-face { font-family: 'Camaufalge'; src: url(assets/Camaufalge.ttf); }
.hero-content h1 {
    text-align: left;
    font-family: 'Camaufalge', sans-serif;
    font-weight:lighter;
    text-transform:uppercase;
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    
}
.hero-subtext {
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-left: 0rem;
    text-align: left;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
}

.arrow-down {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    color: #fff;
}

.arrow-down span {
    display: inline-block;
}

/* Sections general styling */
section {
    padding: 4rem 2rem;
    text-align: center;
}

section h2.section-title { /* More specific class for general section titles */
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


#projects { /* This ID is on index.html for the project overview */
    background-color: var(--bg-color);
}

.project-item {
    position: relative;
    max-width: 800px; /* Adjust as needed */
    margin: 20px auto;
    overflow: hidden; /* To contain the overlay */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Added for consistency */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Added for consistency */
}

.project-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column; /* Align items vertically */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-overlay p, .project-overlay h3 { /* Style h3 similar to p if needed */
    font-size: 1.5rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    /*border: 2px solid #fff; */
    margin-top: 0.5rem; /* Add some margin for h3 if it's above p */
}
.project-overlay h3 {
    border: none; /* Remove border from h3 if only p should have it */
    font-size: 1.5rem; /* Larger for title */
}


.project-item:hover img {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* Social Media Section */
#social-media {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
}

#social-media h2.section-title {
    margin-bottom: 2rem;
}

.contact-section, .follow-section {
    background: #fff;
    color: #000;
    padding: 4rem 10rem 2rem 10rem;
    text-align: left;
    border: none;
}

.contact-section .contact-details p,
.contact-section .contact-details a {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.contact-section .contact-details a:hover {
    text-decoration: underline;
}

.contact-section .social-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.follow-section .social-links a svg {
    width: 32px;
    height: 32px;
    stroke: #000;
    fill: none;
    transition: stroke 0.2s, fill 0.2s;
}

.follow-section .social-links a:hover svg {
    stroke: #fff;
    fill: #000;
    background: #000;
    
}

footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 2rem; /* Ensure some space before footer */
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 0.5rem 1rem;
    }

    header .logo {
        margin-bottom: 0.5rem;
        text-align: center;
        width: 100%;
    }
    header .logo a {
        font-size: 1.8rem; /* Adjust Caveat size for mobile */
    }

    header nav ul {
        justify-content: center;
        width: 100%;
    }

    header nav ul li {
        margin: 0 0.75rem;
    }

    main {
        padding-top: 100px; /* Adjust for taller header on mobile */
    }

    .hero {
        height: calc(100vh - 100px);
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Adjust Caveat size for mobile */
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    section h2.section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
  .hero {
    height: 50vh;
    max-height: 350px;
    min-height: unset;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
    padding-left: 3rem;
  }


.hero-content h1,
  .hero-subtext {
    margin-left: 0 !important;
    text-align: left;
}

  .hero-content h2 {
    font-size: 2rem;
  }
}



/* Project Page (project-page.html) */
.page-title { /* General page title style */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-align: left; /* Center align by default */
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 1200px;
    text-align: left;
    margin-left: 0rem; /* Ensure subtitle is centered */
}

/* Apply Samarkan font to Sanyog title */
    @font-face { font-family: 'Samarkan'; src: url('assets/SAMARN__.TTF') format('woff'), } /* Ensure this path is correct */
#projects-gallery .page-title { /* Specific to Sanyog title on project-page.html */
    font-family: 'Samarkan', cursive; /* Fallback to cursive */
    font-size: 3rem; /* Example: increase size for a display font */
    font-weight:100;
    padding-left: 0;
     /* Adjust as needed */
    text-align: left;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin-left: 0;      /* Align to left */
    margin-right: 0;  
}

.projects-grid .project-item {
    margin-top: 2.5rem; 
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.projects-grid .project-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-5px); /* Slight lift effect */
}


.projects-grid .project-item .project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}
.projects-grid .project-item .project-overlay p { /* This 'View Project' type of text */
    font-size: 1rem;
    border: 1px solid #fff; /* Keep border for this specific text */
    padding: 0.5rem 1rem;
    border-radius: 4px;
}


/* Individual project detail pages (vanantara.html, etc.) */
.project-detail-page { /* This is the <main> element on project detail pages */
    padding: 2rem; /* Reduced top padding as header is fixed */
    max-width: 1300px; /* Max width for content layout */
    margin: 0 auto; /* Center content */
}

.project-detail-page .page-title { /* This is for h1 on project detail pages */
    text-align: left; /* Project title usually aligned left with content */
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.project-detail-image { /* This class seems unused now with pinterest-gallery */
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-meta { /* Contains description, dimensions, material */
  flex: 1 1 40%;
  color: var(--text-color);
  text-align: left; /* Ensure text aligns left */
}

.project-meta h1 { /* Project title within meta section */
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.project-meta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-inquiry-form {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
}

.project-inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.project-inquiry-form input[type="text"],
.project-inquiry-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 0.25rem; /* Adjusted padding */
    margin-bottom: 1rem;
    background-color: transparent; /* Key for transparency */
    border: none;                   /* Remove default border */
    border-bottom: 1px solid var(--text-color); /* Add bottom border */
    border-radius: 0;               /* No rounded corners */
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--primary-color);    /* Text color for input */
    transition: border-bottom-color 0.3s ease;
}

.project-inquiry-form input[type="text"]::placeholder,
.project-inquiry-form input[type="email"]::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

.project-inquiry-form input[type="text"]:focus,
.project-inquiry-form input[type="email"]:focus {
    outline: none;
    border-bottom-color: var(--accent-color); /* Highlight on focus */
    box-shadow: none;
}


.get-price-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff !important; /* Important to override generic link color */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none; /* If it's a button element */
    cursor: pointer; /* If it's an anchor styled as button */
}

.get-price-btn:hover {
    background-color: #a3710a; /* Darker shade of accent */
    color: #fff !important;
}


.project-gallery-placeholder { /* If used, for styling placeholder */
    background-color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px dashed var(--accent-color);
}

.back-to-projects-container {
    text-align: center;
    width: 100%;
    margin-top: 2rem; /* Space above the button */
    margin-bottom: 2rem; /* Space below the button, before footer */
}

.back-to-projects-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: #fff !important; /* Important to override generic link color */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-to-projects-link:hover {
    background-color: #000000; /* Darker shade of accent */
    color: #fff !important;
}

/* GSAP Image Modal Styles */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden; /* Initially hidden for GSAP */
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.7); /* Initial state for GSAP animation */
}

.image-modal-content img {
    display: block;
    max-width: 100%;
    max-height: 85vh; /* Max height to leave space for close button */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-modal-close {
    position: absolute;
    top: -15px;  /* Adjust for better positioning */
    right: -15px; /* Adjust for better positioning */
    background: var(--primary-color);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2001; /* Ensure it's above the image */
}

.image-modal-close:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}


/* Responsive adjustments for project grid & detail pages */
@media (max-width: 992px) { /* For project detail pages */
    .content-container { /* This class is in project detail pages */
        flex-direction: column;
    }
    .pinterest-gallery { /* From project detail pages */
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .page-title { /* General page title */
        font-size: 2rem;
    }
    /* 1. Align Sanyog and subtitle */
#projects-gallery {
    padding-left: 10rem;
    text-align: left;
}

/* 2. Remove extra padding from children */
#projects-gallery .page-title,
#projects-gallery .page-subtitle {
    padding-left: 0;
    margin-left: 0;
    text-align: left;
}



#projects-gallery .projects-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

#projects-gallery .project-item {
    width: 100%;
    max-width: 600px;
    margin: 0;
    background: none; /* Remove any forced background */
    border: none;     /* Optional: remove border if not needed */
    box-shadow: none; /* Optional: remove shadow if not needed */
    overflow: hidden;
}

#projects-gallery .project-item img {
    width: 100%;
    height: 350px;         /* Fixed height for all images */
    object-fit: cover;     /* Crop to fill, no white space */
    border-radius: 12px;
    display: block;
    background: #fff;      /* Only if your images have transparency */
} .project-detail-page {
        padding: 1rem; /* Less padding on smaller screens */
    }
     .project-meta h1 { /* Project title in meta on mobile */
        font-size: 2rem;
    }

    .pinterest-gallery { /* From project detail pages */
        column-count: 1; /* Single column for images on small screens */
    }
    .custom-gallery-layout {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  
}
.custom-gallery-layout .left-img {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.custom-gallery-layout .right-imgs {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.custom-gallery-layout img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .custom-gallery-layout {
    flex-direction: column;
  }
  .custom-gallery-layout .right-imgs {
    gap: 1rem;
  }
}
    .about-container { /* From about.html styling, ensure it's covered */
        flex-direction: column;
        align-items: center;
    }
    .about-image-container {
        margin-bottom: 2rem;
        max-width: 100%;
    }
    .about-text-container p {
        text-align: left; /* Better readability on mobile */
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 1rem;
    }
    #projects-gallery .page-title { /* Sanyog title on very small screens */
        font-size: 2.2rem;
    }
}

/* About Page Layout (about.html) - Copied from original for completeness */
.about-section-layout {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-section-layout .page-title {
    text-align: left;
    margin-bottom: 3rem;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
}

.about-image-container {
    flex: 1 1 350px;
    max-width: 400px;
    margin: 0 auto;
}

.about-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text-container {
    flex: 2 1 500px;
    text-align: left;
}

.about-text-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text-container p:last-child {
    margin-bottom: 0;
}

.project-meta { 
  flex: 1 1 40%;
  color: var(--text-color);
  text-align: left; 
}

.project-inquiry-form-outer-container {
    text-align: center; 
    width: 100%;
    padding: 0 1rem; 
    margin-top: 3rem; 
    margin-bottom: 1.5rem; 
}

.project-inquiry-form {
    display: inline-block; 
    text-align: left;    
    max-width: 500px;    
    width: 100%;         
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
}

.project-inquiry-form input[type="text"],
.project-inquiry-form input[type="email"] {
    width: 100%; 
}

.get-price-btn {
    display: block; 
    width: fit-content; 
    margin: 1rem auto 0; 
}


.back-to-projects-container {
    text-align: center;
    width: 100%;
    margin-top: 1.5rem; 
    margin-bottom: 2rem;
}

/* ... (all existing CSS rules from the previous step) ... */

/* Styles for the new project page layout (Target: jagdishsutar.in) */
.project-layout-target { /* Applied to main element */
    padding-top: 0; /* Remove default padding if hero image is full width */
}

.project-layout-target .project-hero-image-section img {
    width: 100%;
    height: auto;
    max-height: 75vh; /* Adjust as desired */
    object-fit: cover; /* Ensures image covers the area, might crop */
    margin-bottom: 2.5rem; /* Space below hero image */
}

.project-layout-target .project-title-section h1 {
    font-size: 2.8rem; 
    text-align: center; 
    margin-bottom: 2.5rem; /* Space below title */
    color: var(--primary-color);
    font-weight: 600; /* Or adjust as per target site's title weight */
}

.project-layout-target .project-core-content {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; /*MODIFIED: Center the project-details-column */
    gap: 3rem; /* Will have no effect if only one child after image column is moved */
    max-width: 1200px; 
    margin: 0 auto 3rem auto; 
    padding: 0 2rem; /* Add horizontal padding to core content */
    align-items: flex-start;
}

.project-layout-target .project-details-column {
    /* flex: 1 1 50%; */ /* MODIFIED: Old value */
    flex: 0 1 auto; /* MODIFIED: Allow shrinking, don't force grow, auto basis */
    width: 100%; /* MODIFIED: Take full width of parent if parent shrinks */
    max-width: 700px; /* MODIFIED: Max width for the text content block */
    min-width: 300px; /* Keep or adjust */
    text-align: left;
    /* order: 1; -- Not strictly necessary if it's the only significant child */
}

.project-layout-target .detail-item {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.project-layout-target .detail-item .detail-label {
    font-weight: 600;
    color: var(--primary-color);
    display: block; 
    margin-bottom: 0.3rem;
    text-transform: uppercase; /* Often seen on target style sites */
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.project-layout-target .detail-item .detail-value {
    color: var(--text-color);
    line-height: 1.6;
}

.project-layout-target .project-description p {
    font-size: 1.05rem; /* Slightly adjust if needed */
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 2rem; /* Space above description */
    margin-bottom: 2.5rem; /* Space below description */
}

.project-layout-target .project-inquiry-section {
    margin-top: 2rem;
    text-align: left; 
}

.project-layout-target .enquire-btn {
    display: inline-block;
    background-color: var(--primary-color); /* Changed to primary for a different look, or use accent-color */
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    padding: 0.9rem 2.2rem; /* Slightly larger padding */
    border-radius: 2px; /* Sharper edges, or adjust */
    text-decoration: none;
    font-weight: 500; /* Adjust weight */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--primary-color); 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.enquire-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    /* ...existing styles... */
}
.project-layout-target .enquire-btn:hover {
    background-color: var(--accent-color); 
    border-color: var(--accent-color);
    color: #fff !important;
}

.project-layout-target .project-additional-images-column {
    /* display: flex; */ /* MODIFIED: Was flex, changed to grid */
    /* flex-direction: column; */ /* MODIFIED: Removed as it's grid now */
    display: grid; /* MODIFIED: Changed to grid */
    grid-template-columns: repeat(2, 1fr); /* MODIFIED: Added for 2 columns */
    gap: 1.5rem; 
    max-width: 700px; 
    width: 100%;
    margin: 2rem auto; 
}

.project-layout-target .project-additional-images-column .additional-img {
    width: 100%; /* Images take full width of their grid cell */
    height: auto;
    border-radius: 4px; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); 
    cursor: pointer; 
    transition: transform 0.3s ease;
}
.project-layout-target .project-additional-images-column .additional-img:hover {
    transform: scale(1.03);
}



/* Hide old sections if new class .project-layout-target is applied */
.project-layout-target .content-container, 
.project-layout-target .project-inquiry-form-outer-container {
    display: none !important;
}

/* Hide the H1 from the old .project-meta as title is now in .project-title-section */
.project-layout-target .project-meta h1 { 
    display: none !important;
}

/* Ensure back to projects link is still visible and styled */
.project-layout-target .back-to-projects-container {
    text-align: center;
    width: 100%;
    margin-top: 3rem; 
    margin-bottom: 3rem;
    padding: 0 2rem; /* Add padding to ensure it's within bounds */
}
.project-layout-target .back-to-projects-link { /* Ensure styles are applied if overridden by generic styles */
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.project-layout-target .back-to-projects-link:hover {
     background-color: #a3710a;
     color: #fff !important;
}


/* Responsive adjustments for the new layout */
@media (max-width: 992px) { /* Tablet */
    /* .project-layout-target .project-core-content { */ /* No change needed from previous for this specific rule */
        /* gap: 2rem; */
    /* } */
     /* .project-layout-target .project-details-column { */ /* No change needed for order */
        /* order: 1; */
    /* } */
    /* .project-layout-target .project-additional-images-column { */ /* This rule is no longer applicable as it's moved */
        /* order: 2; */
    /* } */
}


@media (max-width: 768px) { /* Mobile */
    .project-layout-target .project-hero-image-section img {
        max-height: 50vh; 
        margin-bottom: 1.5rem;
    }
    .project-layout-target .project-title-section h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    .project-layout-target .project-core-content {
        /* flex-direction: column; -- Already column by default if items wrap and only one main item */
        padding: 0 1rem; /* Adjust padding for mobile */
        /* gap: 2rem; -- No effect with one main child */
    }
    .project-layout-target .project-details-column {
        /* flex-basis: 100%; -- width:100% and max-width will handle this */
        /* order: 0; -- Not needed */
        max-width: 100%; /* MODIFIED: Allow details column to be full width on mobile */
    }
    .project-layout-target .project-additional-images-column {
        /* flex-basis: 100%; -- width:100% and max-width will handle this */
        /* order: 0; -- Not needed */
        /* gap: 1rem; -- Already set */
        max-width: 100%; /* MODIFIED: Allow image column to be full width on mobile */
    }
    .project-layout-target .enquire-btn {
        width: 100%; /* Full width button on mobile */
        padding: 0.9rem 1rem;
    }
    .project-layout-target .project-description p {
        font-size: 1rem;
    }
}
/* ...existing code... */
.modal {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
}
.close-modal {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}
#enquiry-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
#enquiry-form input, #enquiry-form select, #enquiry-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
#enquiry-form button.enquire-btn {
  margin-top: 1.2rem;
  width: 100%;
}
/* ...existing code... */
.enquire-btn {
    display: inline-block;
    background-color: var(--primary-color); /* Changed to primary for a different look, or use accent-color */
    color: #fff !important;
    padding: 0.9rem 2.2rem; /* Slightly larger padding */
    border-radius: 2px; /* Sharper edges, or adjust */
    text-decoration: none;
    font-weight: 500; /* Adjust weight */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--primary-color); 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.enquire-btn:hover {
    background-color: var(--accent-color); 
    border-color: var(--accent-color);
    color: #fff !important;
}