/* --- Common Styles (Header, Nav, Contact) - Reused from service.css --- */

.a {
    display: flex;
    background-color: rgb(255, 255, 255);
    border-top: 0.5px solid grey;
    border-bottom: 0.5px solid grey;
    justify-content: center;
    align-items: center;
}

.a .logo {
    height: 120px;
    width: 180px;
    /* UPDATE: Ensure this image path is correct */
    background-image: url(Gemini_Generated_Image_l7qncbl7qncbl7qn-removebg-preview.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: -20px;
}

.text {
    height: 100px;
    width: 900px;
    text-align: center;
    padding-top: 20px;
    word-spacing: 10px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 30px;
    color: orangered;
    font-family: "Cinzel", serif;
    font-weight: 800;
}



.text h1 {
    margin: 0px;
}

.button {
    height: 45px;
    width: 300px;
    background-color: orangered;
    color: white;
    font-size: 30px;
    font-family: "Orelega One", serif;
    border-radius: 80px;
    border: none;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
}

.button:hover {
    cursor: pointer;
    background-color: white;
    color: orangered;
    border: 1px solid orangered;
    transition: 0.5s ease-in;
}

.navigation {
    display: flex;
    position: sticky;
    height: 60px;
    top: 0px;
    gap: 20px;
    background-color: white;
    z-index: 1000;
    justify-content: center;
}

.home, .services, .projects, .about, .contact {
    height: 60px;
    width: 120px; /* Uniform width for better centering */
    font-family: "Orelega One", serif;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: rgb(127, 96, 85);
    transition: 0.3s ease-in-out;
}
.projects {
    width: 100px; /* Override for 'PROJECTS' */
}
.home, .services, .about, .contact {
    width: 100px; /* Match other links */
}


.home:hover, .services:hover, .projects:hover, .about:hover, .contact:hover {
    background-color: orangered;
    color: white;
    cursor: pointer;
}

/* 🌟 CONTACT SECTION */
.contact-section {
    background:rgb(247, 79, 18);
    color: white;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
    font-family: 'Raleway', sans-serif; /* Use a common font */
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
}

.contact-info {
    flex: 1 1 45%;
}

.contact-info h2 {
    font-size: 42px;
    font-family: "Cinzel", serif;
    border-left: 6px solid white;
    padding-left: 20px;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f4f4f4;
}

.contact-details p {
    margin: 10px 0;
    font-size: 16px;
    color: #fff;
}

/* --- Projects Page Specific Styles --- */

/* Hero Section */
.projects-hero {
    /* Placeholder Image - Update this path/image */
    background-image:  url(pergola1.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 30%;
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.projects-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for text contrast */
}

.hero-text {
    position: relative;
    z-index: 1;
    color: white;
    font-family: "Cinzel", serif;
    /* Animations can be reused from service.css if desired */
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.hero-text p {
    font-size: 1.6rem;
    font-style: italic;
    color: #ff997f; /* Lighter orangered for contrast */
}


/* Projects Gallery */
.projects-gallery {
    text-align: center;
    padding: 100px 8%;
    background: #f7f7f7; /* Light background for the section */
}

.projects-gallery h2 {
    font-size: 2.8rem;
    color: orangered;
    font-family: "Cinzel", serif;
}

.projects-gallery .underline {
    width: 80px;
    height: 4px;
    background: orangered;
    margin: 20px auto 40px;
}

.projects-gallery .intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 60px;
    line-height: 1.8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: orangered;
    margin-bottom: 10px;
    font-family: "Orelega One", serif;
}

.project-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-info span {
    display: inline-block;
    background: #ffe6db; /* Very light orangered */
    color: orangered;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .a {
       
        padding: 10px 0;
    }
    .text {
        font-size: 20px !important;
    }
 

     .home {font-size: 12px;}
  .services {font-size: 12px;}
  .projects {font-size: 12px;}
  .about {font-size: 12px;}
  .contact {font-size: 12px;}

    .text {
        
    }
    .button {
        width: 80%;
        margin: 10px 0;
        font-size: 24px;
    }
    .navigation {
       width: 100%;
        justify-content: flex-start;
        padding: 0 0px;
        gap: 17px;
    }
    .home, .services, .projects, .about, .contact {
        flex-shrink: 0;
        width: 80px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    .contact-info {
        flex: 1 1 100%;
    }
    .projects-hero h1 {
        font-size: 2.5rem;
    }
    .projects-hero p {
        font-size: 1.2rem;
    }
}