﻿@font-face {

font-family:'Bebas';

src:url('/fonts/BebasNeue-Regular.ttf');

}

@font-face {

font-family:'Montserrat';

src:url('/fonts/Montserrat-Regular.ttf');

}

@font-face {

font-family:'Brusher';

src:url('/fonts/Brusher.ttf');

}

:root{

--green:#C8F000;
--blue:#00C8FF;
--purple:#A100FF;

--black:#050505;
--panel:#111111;

--white:#ffffff;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

background:var(--black);
color:var(--white);

font-family:'Montserrat',sans-serif;

}

.container{

width:90%;
max-width:1400px;

margin:auto;

}

a{

color:var(--white);
text-decoration:none;

}

section{

padding:100px 0;

}

.hero{

height:100vh;

position:relative;

background:url('../img/hero.jpg');

background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:center;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.75);

}

.hero-content{

position:relative;

z-index:2;

text-align:center;

}

.hero .brush{

font-family:'Brusher';

font-size:90px;

color:var(--green);

}

.hero h1{

font-family:'Bebas';

font-size:120px;

line-height:.9;

letter-spacing:2px;

}

.underline{

width:300px;
height:8px;

background:var(--purple);

margin:30px auto;

}

.hero-text{

font-size:24px;

margin-bottom:40px;

}

.btn{

padding:18px 40px;

background:var(--green);

color:#000;

font-weight:bold;

border-radius:50px;

}

.services{

background:var(--panel);

}

.services h2{

font-family:'Bebas';

font-size:70px;

text-align:center;

margin-bottom:50px;

}

.service-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.service-card{

padding:40px;

border:2px solid var(--green);

border-radius:20px;

text-align:center;

font-family:'Bebas';

font-size:35px;

transition:.3s;

}

.service-card:hover{

border-color:var(--purple);

transform:translateY(-5px);

}

/* WHY US SECTION */
.why-us h2{
font-family:'Bebas';
font-size:70px;
text-align:center;
margin-bottom:50px;
}

.badges{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
}

.badge-item{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
padding:25px 30px;
background:var(--panel);
border:2px solid var(--green);
border-radius:15px;
min-width:150px;
transition:.3s;
}

.badge-item:hover{
border-color:var(--purple);
transform:translateY(-5px);
}

.badge-icon{
font-size:40px;
}

.badge-text{
font-family:'Bebas';
font-size:18px;
color:var(--white);
text-align:center;
}

/* PROJECTS SECTION */
.projects{
background:var(--panel);
}

.projects h2{
font-family:'Bebas';
font-size:70px;
text-align:center;
margin-bottom:50px;
}

.projects-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.project-card{
background:var(--black);
border-radius:20px;
overflow:hidden;
border:2px solid var(--green);
transition:.3s;
}

.project-card:hover{
border-color:var(--purple);
transform:translateY(-5px);
}

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

.project-placeholder{
width:100%;
height:250px;
display:flex;
align-items:center;
justify-content:center;
background:var(--panel);
color:var(--blue);
font-family:'Bebas';
font-size:24px;
}

.project-info{
padding:25px;
}

.project-info h3{
font-family:'Bebas';
font-size:30px;
margin-bottom:10px;
color:var(--green);
}

.project-info p{
color:var(--blue);
line-height:1.5;
}

.no-projects{
text-align:center;
color:var(--blue);
font-size:20px;
padding:40px;
}

/* TESTIMONIALS SECTION */
.testimonials-section{
background:var(--black);
}

.testimonials-section h2{
font-family:'Bebas';
font-size:70px;
text-align:center;
margin-bottom:50px;
}

.testimonials-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.testimonial-card{
background:var(--panel);
padding:40px;
border-radius:20px;
border:2px solid var(--green);
position:relative;
transition:.3s;
}

.testimonial-card:hover{
border-color:var(--purple);
transform:translateY(-5px);
}

.testimonial-quote{
font-family:'Bebas';
font-size:100px;
color:var(--green);
line-height:1;
margin-bottom:-20px;
}

.testimonial-text{
font-size:18px;
line-height:1.6;
color:var(--white);
margin-bottom:20px;
font-style:italic;
}

.testimonial-author{
font-family:'Bebas';
font-size:22px;
color:var(--blue);
}

.no-testimonials{
text-align:center;
color:var(--blue);
font-size:20px;
padding:40px;
}

/* CONTACT SECTION */
.contact{
background:var(--panel);
}

.contact h2{
font-family:'Bebas';
font-size:70px;
text-align:center;
margin-bottom:50px;
}

.contact-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(400px,1fr));
gap:50px;
}

.contact-info h3{
font-family:'Bebas';
font-size:40px;
color:var(--green);
margin-bottom:30px;
}

.contact-item{
display:flex;
align-items:flex-start;
gap:15px;
margin-bottom:20px;
font-size:18px;
}

.contact-icon{
font-size:24px;
}

.contact-item span{
color:var(--white);
}

.social-links{
display:flex;
gap:15px;
margin-top:30px;
}

.social-link{
padding:12px 25px;
background:var(--green);
color:#000;
border-radius:50px;
font-weight:bold;
transition:.3s;
}

.social-link:hover{
background:var(--purple);
color:var(--white);
}

.contact-form-wrapper h3{
font-family:'Bebas';
font-size:40px;
color:var(--green);
margin-bottom:30px;
}

.contact-form{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:18px;
background:var(--black);
border:2px solid var(--green);
border-radius:10px;
color:var(--white);
font-size:16px;
font-family:'Montserrat',sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus{
outline:none;
border-color:var(--purple);
}

.btn-submit{
padding:18px 40px;
background:var(--green);
color:#000;
border:none;
border-radius:50px;
font-size:18px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.btn-submit:hover{
background:var(--purple);
color:var(--white);
}

/* HEADER STYLES */
.header{
background:var(--panel);
padding:20px 0;
position:sticky;
top:0;
z-index:1000;
border-bottom:2px solid var(--green);
}

.header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-family:'Bebas';
font-size:35px;
color:var(--green);
letter-spacing:2px;
}

nav{
display:flex;
gap:30px;
}

nav a{
font-weight:bold;
transition:.3s;
}

nav a:hover{
color:var(--green);
}

/* FOOTER STYLES */
.footer{
background:var(--black);
padding:40px 0;
border-top:2px solid var(--green);
}

.footer .container{
text-align:center;
}

.footer p{
color:var(--blue);
font-family:'Bebas';
font-size:20px;
}

/* RESPONSIVE */
@media(max-width:768px){
.hero h1{
font-size:60px;
}

.hero .brush{
font-size:50px;
}

.services h2,
.why-us h2,
.projects h2,
.testimonials-section h2,
.contact h2{
font-size:50px;
}

.contact-grid{
grid-template-columns:1fr;
}

.badges{
gap:15px;
}

.badge-item{
min-width:130px;
padding:20px;
}

.projects-grid,
.testimonials-grid{
grid-template-columns:1fr;
}

nav{
display:none;
}

.logo{
font-size:25px;
}
}

@media(max-width:480px){
.hero h1{
font-size:40px;
}

.hero .brush{
font-size:35px;
}

.services h2,
.why-us h2,
.projects h2,
.testimonials-section h2,
.contact h2{
font-size:35px;
}

.contact-grid{
gap:30px;
}
}

/* ==========================================
   NEW PAGE TEMPLATE STYLES
   ========================================== */

/* Page Hero */
.page-hero{
height:50vh;
min-height:400px;
position:relative;
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
}

.page-hero .hero-content{
position:relative;
z-index:2;
text-align:center;
}

.page-hero h1{
font-family:'Bebas';
font-size:80px;
color:var(--white);
margin-bottom:15px;
text-shadow:2px 2px 10px rgba(0,0,0,0.5);
}

.page-subtitle{
font-size:24px;
color:var(--blue);
}

/* Section Intro */
.section-intro{
padding:40px 0;
text-align:center;
background:var(--panel);
}

.section-intro p{
max-width:800px;
margin:0 auto;
color:var(--blue);
font-size:18px;
line-height:1.6;
}

.section-subtitle{
text-align:center;
color:var(--blue);
margin-top:-30px;
margin-bottom:40px;
font-size:18px;
}

/* Section CTA */
.section-cta{
text-align:center;
margin-top:40px;
}

.btn-outline{
display:inline-block;
padding:15px 40px;
background:transparent;
color:var(--green);
border:2px solid var(--green);
border-radius:50px;
font-weight:bold;
transition:.3s;
}

.btn-outline:hover{
background:var(--green);
color:#000;
}

.no-content{
text-align:center;
color:var(--blue);
font-size:18px;
padding:40px;
}

/* About Section */
.about-section{
padding:80px 0;
}

.about-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:50px;
}

.about-text h2{
font-family:'Bebas';
font-size:50px;
color:var(--green);
margin-bottom:20px;
}

.about-content{
color:var(--white);
line-height:1.8;
font-size:18px;
}

.about-sidebar{
display:flex;
flex-direction:column;
gap:20px;
}

.about-card{
background:var(--panel);
padding:25px;
border-radius:15px;
border:2px solid var(--green);
}

.about-card h3{
font-family:'Bebas';
font-size:25px;
color:var(--green);
margin-bottom:10px;
}

.about-card p{
color:var(--blue);
font-size:14px;
line-height:1.6;
}

/* Services Detail */
.services-detail{
padding:60px 0;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.service-detail-card{
background:var(--panel);
padding:40px;
border-radius:20px;
border:2px solid var(--green);
text-align:center;
transition:.3s;
}

.service-detail-card:hover{
border-color:var(--purple);
transform:translateY(-5px);
}

.service-detail-icon{
font-size:60px;
margin-bottom:20px;
}

.service-detail-card h3{
font-family:'Bebas';
font-size:30px;
color:var(--green);
margin-bottom:15px;
}

.service-detail-card p{
color:var(--blue);
line-height:1.6;
}

/* Gallery Grid */
.gallery-section{
padding:60px 0;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
gap:25px;
}

.gallery-item{
position:relative;
border-radius:15px;
overflow:hidden;
border:2px solid var(--green);
transition:.3s;
}

.gallery-item:hover{
border-color:var(--purple);
transform:scale(1.02);
}

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

.gallery-caption{
position:absolute;
bottom:0;
left:0;
right:0;
background:linear-gradient(transparent,rgba(0,0,0,0.9));
padding:20px;
}

.gallery-caption h4{
font-family:'Bebas';
font-size:20px;
color:var(--white);
}

/* Projects Page Section */
.projects-page-section{
padding:60px 0;
}

.project-card .btn-small{
display:inline-block;
padding:10px 20px;
background:var(--green);
color:#000;
border-radius:50px;
font-weight:bold;
font-size:14px;
margin-top:15px;
transition:.3s;
}

.project-card .btn-small:hover{
background:var(--purple);
color:var(--white);
}

/* Testimonials Page Section */
.testimonials-page-section{
padding:60px 0;
}

.testimonials-list{
display:flex;
flex-direction:column;
gap:30px;
max-width:900px;
margin:0 auto;
}

.testimonial-full-card{
background:var(--panel);
padding:50px;
border-radius:20px;
border:2px solid var(--green);
display:flex;
gap:30px;
}

.testimonial-full-card .testimonial-quote{
font-family:'Bebas';
font-size:100px;
color:var(--green);
line-height:1;
}

.testimonial-content{
flex:1;
}

.testimonial-content .testimonial-text{
font-size:20px;
line-height:1.6;
color:var(--white);
margin-bottom:20px;
font-style:italic;
}

.testimonial-rating{
margin-top:10px;
}

.testimonial-rating .star{
font-size:20px;
color:var(--green);
}

.testimonial-rating .star:not(.filled){
color:var(--panel);
}

/* Contact Page Section */
.contact-page-section{
padding:60px 0;
}

.contact-full-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
}

.contact-details h2{
font-family:'Bebas';
font-size:40px;
color:var(--green);
margin-bottom:30px;
}

.contact-detail-item{
display:flex;
gap:20px;
margin-bottom:25px;
}

.detail-icon{
font-size:30px;
}

.contact-detail-item strong{
display:block;
color:var(--green);
margin-bottom:5px;
}

.contact-detail-item p{
color:var(--white);
line-height:1.5;
}

.social-links-large{
display:flex;
flex-wrap:wrap;
gap:15px;
margin-top:30px;
}

.social-links-large .social-link{
padding:12px 25px;
background:var(--green);
color:#000;
border-radius:50px;
font-weight:bold;
transition:.3s;
}

.social-links-large .social-link:hover{
background:var(--purple);
color:var(--white);
}

.contact-form-section h2{
font-family:'Bebas';
font-size:40px;
color:var(--green);
margin-bottom:30px;
}

.contact-form-full{
background:var(--panel);
padding:40px;
border-radius:20px;
border:2px solid var(--green);
}

.contact-form-full .form-row{
display:flex;
gap:20px;
margin-bottom:20px;
}

.contact-form-full .form-row .form-group{
flex:1;
}

.contact-form-full .form-group label{
display:block;
margin-bottom:8px;
font-weight:bold;
color:var(--blue);
}

.contact-form-full .form-group input,
.contact-form-full .form-group textarea{
width:100%;
padding:15px;
background:var(--black);
border:2px solid var(--green);
border-radius:10px;
color:var(--white);
font-size:16px;
font-family:'Montserrat',sans-serif;
}

.contact-form-full .form-group input:focus,
.contact-form-full .form-group textarea:focus{
outline:none;
border-color:var(--purple);
}

/* CTA Section */
.cta-section{
padding:80px 0;
text-align:center;
background:var(--panel);
}

.cta-section h2{
font-family:'Bebas';
font-size:50px;
color:var(--green);
margin-bottom:15px;
}

.cta-section p{
color:var(--blue);
font-size:18px;
margin-bottom:30px;
}

/* Map Section */
.map-section{
padding:60px 0;
}

.map-placeholder{
height:300px;
background:var(--panel);
border-radius:20px;
border:2px solid var(--green);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.map-placeholder p{
font-size:40px;
margin-bottom:10px;
}

.map-placeholder small{
color:var(--blue);
}

/* Footer Grid */
.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
margin-bottom:40px;
}

.footer-column h4{
font-family:'Bebas';
font-size:25px;
color:var(--green);
margin-bottom:20px;
}

.footer-column p{
color:var(--white);
line-height:1.6;
font-size:14px;
}

.footer-links{
list-style:none;
padding:0;
margin:0;
}

.footer-links li{
margin-bottom:10px;
}

.footer-links a{
color:var(--white);
transition:.3s;
}

.footer-links a:hover{
color:var(--green);
}

.footer-contact{
list-style:none;
padding:0;
margin:0;
}

.footer-contact li{
display:flex;
align-items:flex-start;
gap:10px;
margin-bottom:10px;
color:var(--white);
}

.footer-contact li span{
font-size:18px;
}

.footer-social{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    width:100%;
}

.footer-column{
    text-align:center;
}

.social-icon{
font-size:24px;
transition:.3s;
}

.social-icon:hover{
transform:scale(1.2);
}

.footer-bottom{
padding-top:30px;
border-top:1px solid var(--panel);
display:flex;
justify-content:space-between;
align-items:center;
}

.footer-bottom p{
color:var(--blue);
font-family:'Bebas';
font-size:16px;
}

.admin-link{
color:var(--blue);
font-size:12px;
transition:.3s;
}

.admin-link:hover{
color:var(--green);
}

/* Mobile Navigation */
.mobile-menu-toggle{
display:none;
flex-direction:column;
gap:5px;
background:none;
border:none;
cursor:pointer;
padding:10px;
}

.mobile-menu-toggle span{
width:25px;
height:3px;
background:var(--green);
border-radius:2px;
transition:.3s;
}

.mobile-nav{
display:none;
position:fixed;
top:80px;
left:0;
right:0;
background:var(--panel);
border-bottom:2px solid var(--green);
z-index:999;
}

.mobile-nav.active{
display:block;
}

.mobile-nav nav{
display:flex;
flex-direction:column;
padding:20px;
}

.mobile-nav a{
padding:15px;
color:var(--white);
border-bottom:1px solid var(--black);
transition:.3s;
}

.mobile-nav a:hover{
background:var(--black);
color:var(--green);
}

/* Responsive */
@media(max-width:1024px){
.footer-grid{
grid-template-columns:repeat(2,1fr);
}

.about-grid{
grid-template-columns:1fr;
}

.contact-full-grid{
grid-template-columns:1fr;
}
}

@media(max-width:768px){
.footer-grid{
grid-template-columns:1fr;
}

.testimonial-full-card{
flex-direction:column;
text-align:center;
}

.testimonial-full-card .testimonial-quote{
font-size:60px;
}

.contact-form-full .form-row{
flex-direction:column;
}

.page-hero h1{
font-size:50px;
}

.mobile-menu-toggle{
display:flex;
}

nav.main-nav{
display:none;
}
}

@media(max-width:480px){
.page-hero h1{
font-size:35px;
}

.about-grid,
.services-grid,
.gallery-grid,
.projects-grid,
.testimonials-grid{
grid-template-columns:1fr;
}
}

/* ==========================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ========================================== */

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        height: 80vh;
    }
    
    .page-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .service-card,
    .service-detail-card {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .contact-full-grid {
        gap: 40px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .about-grid {
        gap: 30px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    /* General mobile adjustments */
    html {
        font-size: 14px;
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Header mobile */
    .header {
        padding: 15px 0;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }
    
    .logo {
        flex: 1;
        font-size: 28px;
    }
    
    /* Navigation mobile */
    .mobile-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--panel);
        border-bottom: 2px solid var(--green);
        z-index: 998;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .mobile-nav nav {
        flex-direction: column;
        padding: 15px;
    }
    
    .mobile-nav a {
        padding: 15px;
        border-bottom: 1px solid var(--black);
        font-size: 16px;
        text-align: left;
    }
    
    .mobile-nav a:last-child {
        border-bottom: none;
    }
    
    /* Hero sections mobile */
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .page-hero {
        height: 35vh;
        min-height: 300px;
    }
    
    .page-hero .hero-content {
        padding: 0 15px;
    }
    
    .page-hero h1 {
        font-size: 45px;
        line-height: 1.1;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    /* Grid layouts mobile */
    .about-grid,
    .services-grid,
    .gallery-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Card styles mobile */
    .service-card,
    .service-detail-card,
    .project-card,
    .testimonial-card,
    .gallery-item,
    .about-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .service-card h3,
    .service-detail-card h3,
    .project-info h3 {
        font-size: 24px;
    }
    
    /* Badges mobile */
    .badges {
        gap: 15px;
        justify-content: center;
    }
    
    .badge-item {
        min-width: 140px;
        padding: 20px 15px;
    }
    
    .badge-icon {
        font-size: 35px;
    }
    
    .badge-text {
        font-size: 14px;
    }
    
    /* Testimonials mobile */
    .testimonials-list {
        padding: 0;
    }
    
    .testimonial-full-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-full-card .testimonial-quote {
        font-size: 60px;
    }
    
    /* Contact section mobile */
    .contact-full-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-details {
        padding: 0;
    }
    
    .contact-form-full {
        padding: 25px;
    }
    
    .contact-detail-item {
        align-items: flex-start;
    }
    
    /* Gallery mobile */
    .gallery-item img {
        height: 200px;
    }
    
    /* Project cards mobile */
    .project-card img {
        height: 200px;
    }
    
    /* CTA section mobile */
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-section h2 {
        font-size: 40px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links li,
    .footer-contact li {
        margin-bottom: 8px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 14px;
    }
    
    /* Social links mobile */
    .social-links,
    .social-links-large {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-link {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Map placeholder mobile */
    .map-section {
        padding: 40px 0;
    }
    
    .map-placeholder {
        height: 250px;
    }
    
    /* Section intro mobile */
    .section-intro {
        padding: 30px 0;
    }
    
    .section-intro p {
        font-size: 15px;
    }
    
    /* About section mobile */
    .about-section {
        padding: 50px 0;
    }
    
    .about-text h2 {
        font-size: 40px;
    }
    
    .about-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Form inputs mobile */
    input,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Service detail mobile */
    .services-detail,
    .gallery-section,
    .projects-page-section,
    .testimonials-page-section,
    .contact-page-section {
        padding: 40px 0;
    }
    
    /* Image gallery captions mobile */
    .gallery-caption h4 {
        font-size: 16px;
    }
}

/* Large phones */
@media (max-width: 600px) {
    .page-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .page-hero h1 {
        font-size: 38px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    /* Service cards compact */
    .service-card,
    .service-detail-card {
        padding: 20px 15px;
    }
    
    .service-icon-display,
    .service-detail-icon {
        font-size: 45px;
    }
    
    /* Badges compact */
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge-item {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        text-align: left;
    }
    
    .badge-icon {
        font-size: 30px;
        flex-shrink: 0;
    }
    
    /* Testimonial compact */
    .testimonial-full-card {
        padding: 25px 20px;
    }
    
    .testimonial-full-card .testimonial-quote {
        font-size: 50px;
    }
    
    .testimonial-content .testimonial-text {
        font-size: 16px;
    }
    
    /* Contact details compact */
    .contact-detail-item {
        margin-bottom: 20px;
    }
    
    .detail-icon {
        font-size: 24px;
    }
    
    /* CTA compact */
    .cta-section h2 {
        font-size: 32px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    /* Footer compact */
    .footer-column h4 {
        font-size: 20px;
    }
    
    .footer-contact li span {
        font-size: 16px;
    }
    
    /* About cards compact */
    .about-card {
        padding: 20px;
    }
    
    .about-card h3 {
        font-size: 22px;
    }
    
    .about-card p {
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Header small */
    .logo {
        font-size: 22px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Hero small */
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .page-hero {
        height: 25vh;
        min-height: 200px;
    }
    
    .page-hero h1 {
        font-size: 30px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    /* Grid single column small */
    .about-grid,
    .services-grid,
    .gallery-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards small */
    .service-card,
    .service-detail-card,
    .project-card,
    .testimonial-card,
    .gallery-item {
        padding: 18px 15px;
    }
    
    /* Images small */
    .project-card img,
    .gallery-item img {
        height: 180px;
    }
    
    /* Badges small */
    .badge-item {
        padding: 15px;
        min-width: 100%;
    }
    
    .badge-icon {
        font-size: 28px;
    }
    
    /* Contact small */
    .contact-full-grid {
        gap: 30px;
    }
    
    .contact-form-full {
        padding: 20px 15px;
    }
    
    .contact-form-full .form-row {
        margin-bottom: 15px;
    }
    
    /* CTA small */
    .cta-section {
        padding: 40px 15px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 14px;
    }
    
    /* Footer small */
    .footer {
        padding: 25px 15px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-column h4 {
        font-size: 18px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
    
    /* About section small */
    .about-section {
        padding: 40px 0;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
    
    .about-content {
        font-size: 14px;
    }
    
    /* Testimonial small */
    .testimonial-full-card {
        padding: 20px 15px;
    }
    
    .testimonial-full-card .testimonial-quote {
        font-size: 40px;
    }
    
    .testimonial-content .testimonial-text {
        font-size: 15px;
    }
}

/* Landscape phone orientation fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px;
    }
    
    .page-hero {
        height: auto;
        min-height: 50vh;
        padding: 40px 20px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .project-card:hover,
    .testimonial-card:hover,
    .gallery-item:hover,
    .badge-item:hover {
        transform: none;
        border-color: var(--green);
    }
    
    .social-link:hover,
    .btn-submit:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .service-card:active,
    .project-card:active,
    .testimonial-card:active,
    .gallery-item:active,
    .badge-item:active {
        border-color: var(--purple);
    }
    
    /* Larger touch targets */
    .social-link {
        padding: 12px 25px;
    }
    
    .btn {
        padding: 16px 35px;
    }
    
    /* Better scrolling */
    .mobile-nav {
        -webkit-overflow-scrolling: touch;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Crisp text on retina */
    .hero h1,
    .page-hero h1,
    .services h2,
    .why-us h2,
    .projects h2,
    .testimonials-section h2,
    .contact h2 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .mobile-nav,
    .footer,
    .cta-section,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .page-hero {
        background: none !important;
        height: auto;
        min-height: auto;
    }
    
    .page-hero .overlay {
        display: none;
    }
    
    .page-hero h1 {
        color: black;
        text-shadow: none;
    }
}

/* ==========================================
   PROJECT DETAILS GALLERY
   ========================================== */

.project-detail-section{
    padding:60px 0;
}

.project-gallery{
    display:flex;
    flex-direction:column;
    gap:40px;
    align-items:center;
    width:100%;
}

.project-gallery-item{
    width:100%;
    background:var(--panel);
    border:2px solid var(--green);
    border-radius:18px;
    padding:20px;
    transition:.3s;
    text-align:center;
}

.project-gallery-item:hover{
    border-color:var(--purple);
}

.project-gallery-item img{

    display:block;

    width:auto;

    max-width:100%;

    height:auto;

    max-height:90vh;

    margin:auto;

    object-fit:contain;

    border-radius:10px;

    box-shadow:0 8px 25px rgba(0,0,0,.35);

}

/* Portrait images */
.project-gallery-item img.portrait{

    max-width:600px;

}

/* Landscape images */
.project-gallery-item img.landscape{

    width:100%;

    height:auto;

}

@media(max-width:768px){

    .project-detail-section{

        padding:40px 0;

    }

    .project-gallery{

        gap:25px;

    }

    .project-gallery-item{

        padding:15px;

    }

    .project-gallery-item img{

        max-height:70vh;

    }

}
/* ===== Sela mobile menu fixes ===== */
.mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header {
    z-index: 1000 !important;
}

@media(max-width:768px){
    .mobile-menu-toggle{
        display: flex !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    nav.main-nav{
        display: none !important;
    }
    .mobile-nav{
        z-index: 999 !important;
        top: 70px !important;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .mobile-nav.active{
        display: block !important;
    }
}
