@charset "utf-8";

/* ====================================================
   GLOBAL TYPOGRAPHY & SPACING
==================================================== */

* {
    box-sizing: border-box;
}

.project-grid,
.features,
.services-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* 1. Safe mobile menu width */
@media (max-width: 768px) {
    nav ul {
        width: 90%;
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 2. Prevent logo overflow */
.logo img {
    max-width: 100%;
    display: block;
}

/* 3. Prevent fractional grid overflow */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}



body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ====================================================
   HEADER & NAVIGATION
==================================================== */
header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 85px;
}

.logo img {
    height: 100%;
    width: auto;
	max-width: 100%;
    display: block;
}



/* Desktop nav */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    position: relative;
    padding: 0 4px;
    font-size: 17px;
    line-height: 70px;
    transition: color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: width 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    font-weight: bold;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo {
        height: 65px;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 140px); /* keeps your original inset look */
        max-width: 500px;
        padding: 15px 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        border-radius: 10px;
        gap: 10px;
        z-index: 10000;
    }

    nav ul.open {
        display: flex;
    }

    nav a {
        line-height: 40px;
        font-size: 18px;
    }
}

/* ====================================================
   BASE HERO (shared structure)
==================================================== */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

/* ====================================================
   HOME HERO
==================================================== */
.hero-home {
    background: url('/images/background.png') center/cover no-repeat;
    height: 70vh;
    min-height: 420px;
}

.hero-home::before {
    background: rgba(0,0,0,0.55);
}

.hero-home h1 {
    font-size: 46px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.hero-home p {
    font-size: 20px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

/* ====================================================
   HOMEPAGE FEATURE BOXES
==================================================== */
.features {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.feature-box h3 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-box p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

/* ====================================================
   HOMEPAGE FEATURED PROJECTS
==================================================== */
.featured-projects {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.featured-projects h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-grid img:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
    .project-grid img {
        height: 180px;
    }
    .feature-box { padding: 22px; }
	
    .hero-home {
        height: auto;
        min-height: 70vh;
        background-position: center top;
    }

    .hero-home h1 { font-size: 34px; }
    .hero-home p { font-size: 18px; }
}


/* HOME HERO ANIMATION */
.hero-home h1,
.hero-home p {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-home h1 {
    animation-delay: 0.2s;
}

.hero-home p {
    animation-delay: 0.5s;
}

/* SERVICES HERO ANIMATION */
.hero-services h1,
.hero-services p {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-services h1 {
    animation-delay: 0.2s;
}

.hero-services p {
    animation-delay: 0.5s;
}


/* ====================================================
   SERVICES HERO (clean, final)
==================================================== */
.hero-services {
    background: url('/images/services.png') center/cover no-repeat;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.hero-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.hero-services .hero-content {
    text-align: center;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.hero-services h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-services p {
    font-size: 1.2rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .hero-services {
        height: 320px;
        background-position: center top;
    }

    .hero-services h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-services p {
        font-size: 1rem;
        line-height: 1.4;
    }
}


/* CONTACT HERO */
.hero-contact {
    background: url('/images/contact.png') center/cover no-repeat;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-contact .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

/* Matching animation */
.hero-contact h1,
.hero-contact p {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-contact h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    animation-delay: 0.2s;
}

.hero-contact p {
    font-size: 1.2rem;
    line-height: 1.5;
    animation-delay: 0.5s;
}

@media (max-width: 600px) {
    .hero-contact {
        height: 320px;
        background-position: center top;
    }

    .hero-contact h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-contact p {
        font-size: 1rem;
        line-height: 1.4;
        margin-top: 10px;
    }
}



/* ====================================================
   SERVICES PAGE GRID
==================================================== */
.services-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.service-card h3 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .service-card { padding: 22px; }
}

/* ====================================================
   ABOUT PAGE
==================================================== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.about-hero {
    width: 100%;
    height: 420px;
    background-image: url('/images/about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.about-hero-inner {
    max-width: 900px;
    text-align: center;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.about-hero h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

.about-hero p {
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

.about-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-photo {
    width: 180px;
    border-radius: 8px;
    float: right;
    margin: 0 0 20px 20px;
}

.testimonial {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonial p {
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial span {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 600px) {
    .about-hero {
        height: 320px;
        padding: 0 15px;
    }

    .about-hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .about-hero p {
        font-size: 1rem;
        line-height: 1.4;
        margin-top: 10px;
    }

    .about-hero-inner {
        padding: 0 10px;
        animation-duration: 0.8s;
        animation-delay: 0s;
    }

    .about-hero h1 {
        animation-duration: 0.8s;
        animation-delay: 0.1s;
    }

    .about-hero p {
        animation-duration: 0.8s;
        animation-delay: 0.25s;
    }
}

/* ====================================================
   CONTACT PAGE
==================================================== */
.contact-wrapper {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-color: #333;
    outline: none;
}

.contact-card textarea {
    height: 140px;
    resize: vertical;
}

.contact-card button {
    background: #333;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-card button:hover {
    background: #555;
}

@media (max-width: 600px) {
    .contact-card { padding: 25px; }
}

/* ====================================================
   FOOTER
==================================================== */
/*

footer {
    background: #394E5C;
    color: #fff;
    text-align: center;
    padding: 25px 10px;
    margin-top: 40px;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

*/

.site-footer {
    background: #394E5C;
    color: #d0d0d0;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.site-footer .footer-section {
    flex: 1 1 250px;
}

.site-footer h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #ffffff;
}

.site-footer p {
    margin: 0;
    line-height: 1.5;
}

.site-footer a {
    color: #d0d0d0;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}






html, body { overflow-x: hidden; max-width: 100%; }



/* Portfolio hero */

.hero-portfolio {
    background: url('/images/portfolio_bg.jpg') center/cover no-repeat;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-portfolio .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.hero-portfolio h1 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-portfolio p {
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

@media (max-width: 600px) {
    .hero-portfolio {
        height: 320px;
        background-position: center top;
    }

    .hero-portfolio h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-portfolio p {
        font-size: 1rem;
        line-height: 1.4;
        margin-top: 10px;
    }
}

/* ====================================================
   PORTFOLIO GALLERY
==================================================== */


/* Album selector buttons */
.albums {
    margin: 40px 0 30px;
    text-align: right;
}

.albums a {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    margin-left: 10px;
    font-size: 15px;
    transition: background 0.25s ease;
}

.albums a:hover {
    background: #555;
}



/* */

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.gallery-container h1 {
    text-align: center;
    font-weight: 400;
    font-size: 2.2rem;
    margin-bottom: 10px;
	margin-top: 0;
}




.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.gallery-grid img {
    width: 180px;        /* or 150px if you want smaller */
    height: 180px;       /* forces uniform square thumbnails */
    object-fit: cover;   /* crops neatly without distortion */
    border-radius: 8px;
}


.gallery-grid .caption {
    margin-top: 10px;
    color: #A5A5A5;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-container {
        padding: 40px 15px;
    }
}

/* */

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.portfolio-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.portfolio-landing {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.portfolio-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.2rem;    
  color: #333333;          
  font-weight: 400;        
}

.portfolio-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 150px;
  max-width: 150px;
}


.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (max-width: 600px) {
  .hero-portfolio {
    padding: 3rem 1rem;
  }
}


.gallery-nav {
    text-align: center;
    margin: 2rem 0 0.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.gallery-nav a {
    font-size: 1rem;
    color: #1F2A33;
    text-decoration: none;
    font-weight: 600;
}

.gallery-nav a:hover {
    text-decoration: underline;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
	flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
    max-width: 90%;
}


@media (max-width: 768px) {
    .gallery-container .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .gallery-container .gallery-grid img {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

.gallery-grid .thumb {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-grid .caption {
    margin-top: 10px;
    color: #A5A5A5;
    font-size: 0.95rem;
}

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.pp-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pp-section-title {
  margin-top: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.pp-list {
  margin: 0.5rem 0 1rem 1.2rem;
}

.pp-contact a {
  color: inherit;
  text-decoration: underline;
}

