@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght=400;500;600;700;800&display=swap');

/* ==========================================================================
   1. GLOBAL STYLES (Root, Tipografi, Header, Footer, Tombol, Form)
   ========================================================================== */
:root {
    --white: #ffffff;
    --bg-light: {rgba(255, 255, 255,0); /* Diubah menjadi 80% transparan */backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);}
    --text-main: #ffffff;
    --text-muted: #ffffff;
    --brand-green: #4aac02;
    --brand-red: #fc0303;
    --fade-green: linear-gradient(135deg, #4aac02 0%, #357a01 100%);
    --fade-red: linear-gradient(135deg, #fc0303 0%, #b80000 100%);
    --bg-hero: linear-gradient(180deg, rgba(74, 172, 2, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    --shadow-float: 0 15px 35px rgba(74, 172, 2, 0.1);
    --shadow-btn: 0 8px 20px rgba(74, 172, 2, 0.3);
    --shadow-btn-red: 0 8px 20px rgba(252, 3, 3, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
body { 
    /* Menggabungkan gradien putih transparan (90%) agar gambar latar belakang tetap halus */
    background: 
        linear-gradient(180deg, rgba(247, 250, 247, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%),
        url('../img/bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* KUNCI UTAMA: Membuat background diam saat halaman di-scroll */
    
    color: var(--text-main); 
    line-height: 1.7; 
    overflow-x: hidden; 
}

/* Header & Navigasi */
header {
    position: fixed; top: 0; width: 100%; 
    background: rgba(255, 255, 255,0); /* Diubah menjadi 80% transparan */
    z-index: 1000; 
    transition: all 0.3s ease;
}
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0px 30px; }
.logo { display: flex; align-items: center; gap: 12px; flex-direction: row;}
.logo img { height: 45px; }
.logo-text { font-size: 1.6rem; font-weight: 800; color: var(--brand-red); letter-spacing: 1px; text-transform: uppercase; }

nav { display: flex; gap: 35px; align-items: center; }
nav a { text-decoration: none; color: var(--brand-red);-webkit-text-stroke: 0.5px white; text-decoration-line: black; font-weight: 800; font-size: 1.1rem; position: relative; padding: 5px 0; transition: color 0.3s ease; }
nav a:hover, nav a.active { color: var(--brand-red); }
nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background: var(--fade-red); transition: width 0.3s ease; border-radius: 2px; }
nav a:hover::after, nav a.active::after { width: 100%; }

/* Buttons */
.btn { padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.4s ease; border: none; cursor: pointer; display: inline-block; }
.btn-primary { background: var(--fade-green); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(74, 172, 2, 0.4); }
.btn-secondary { background: var(--white); color: var(--brand-red); border: 2px solid var(--brand-red); }
.btn-secondary:hover { background: var(--fade-red); color: var(--white); box-shadow: var(--shadow-btn-red); border-color: transparent; transform: translateY(-3px); }

/* Global Form */
.form-container { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-float); }
.form-group { margin-bottom: 25px; text-align: left; }
label { display: block; font-weight: 600; margin-bottom: 10px; color: var(--text-main); font-size: 0.95rem; }
input, select, textarea { width: 100%; padding: 15px; border: 2px solid rgba(74, 172, 2, 0.15); border-radius: 10px; background: var(--bg-light); color: var(--text-main); font-size: 1rem; transition: all 0.3s; margin-top: 5px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-green); background: var(--white); }

/* Footer */
.main-footer { 
    background: rgba(255, 255, 255, 0); /* Membuat footer transparan */
    backdrop-filter: blur(5px);           /* Efek kaca buram di bagian bawah */
    -webkit-backdrop-filter: blur(5px);
    margin-top: 60px; 
    border-top: 8px solid var(--brand-green); 
    box-shadow: 0 -10px 30px rgba(74, 172, 2, 0.03); 
}
.footer-container { max-width: 1500px; margin: 0 auto; padding: 10px 30px 0px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col.brand-col .logo-wrapper { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-col.brand-col .logo-wrapper img { height: 50px; margin-bottom: 0; }
.footer-col p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.footer-col h4 { color: white; font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { text-decoration: none; color: var(--text-muted); transition: color 0.3s ease; font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--text-main); }
.footer-col.contact-col p { margin-bottom: 15px; }
.footer-col.contact-col ul { margin-bottom: 15px; margin-bottom: -10px; }
.footer-bottom { max-width: 1500px; margin: 0 auto; padding: 25px 30px; border-top: 1px solid rgba(74, 172, 2, 0.1); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; }

/* Floating Live Chat */
.floating-chat { position: fixed; bottom: 30px; right: 30px; background: var(--fade-green); color: var(--white); padding: 12px 25px; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-btn); z-index: 1000; transition: all 0.3s ease; border: 2px solid transparent; }
.floating-chat:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(74, 172, 2, 0.4); background: var(--white); color: var(--brand-green); border-color: var(--brand-green); }
.floating-chat svg { width: 24px; height: 24px; fill: currentColor; }

/* Utilities (Sering dipakai bersama) */
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 30px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 15px; color: white;}
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 60px; font-size: 1.1rem; }


/* ==========================================================================
   2. INDEX PAGE (index.html)
   ========================================================================== */
   
.hero { 
    padding: 160px 30px 100px 30px; 
    background: transparent; /* Diubah menjadi transparent agar menyatu dengan body */
    text-align: center; 
    width: 100%; 
    margin: 0 auto; 
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    color: var(--white); 
    max-width: 900px;     
    margin-left: auto;    
    margin-right: auto;   
}
.hero h1 span { background: var(--fade-red); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color:#f7faf7; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* Service Cards / Cards Homepage */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 20px; box-shadow: var(--shadow-float); text-align: center; transition: all 0.4s ease; border: 1px solid rgba(74, 172, 2, 0.05); }
.card:hover { transform: translateY(-10px); border-color: var(--brand-green); box-shadow: 0 20px 40px rgba(74, 172, 2, 0.15); }
.card h3 { margin-bottom: 15px; font-size: 1.3rem;}
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Card Layanan Bergambar */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 20px; }
.service-card { position: relative; border-radius: 15px; overflow: hidden; height: 380px; background-color: var(--fade-green); background-size: cover; background-position: center; box-shadow: var(--shadow-float); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; align-items: flex-end; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 75%; background: linear-gradient(to top, rgba(4, 43, 20, 0.95) 0%, rgba(4, 43, 20, 0.6) 50%, transparent 100%); z-index: 1; }
.service-content { position: relative; z-index: 2; padding: 30px 25px; width: 100%; color: var(--white); text-align: left; }
.service-content h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.service-content p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; color: rgba(255, 255, 255, 0.9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.btn-service { display: inline-block; background: var(--white); color: black; padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; }
.btn-service:hover { background: var(--brand-green); color: var(--white); }


/* ==========================================================================
   3. GENERAL PAGES (Kontak, Portofolio, Syarat, Tentang, Layanan Induk)
   ========================================================================== */
/* Inner Hero (Digunakan di halaman selain index) */
.inner-hero { padding: 120px 30px 60px; background: var(--bg-light); text-align: center; }
.inner-hero h1 { font-size: 2.5rem; color: var(--white); }

/* Kontak */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.contact-info { background: var(--bg-light); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-float); border: 1px solid rgba(74, 172, 2, 0.05); }
.info-item { margin-bottom: 25px; }
.info-item h4 { color: var(--brand-green); margin-bottom: 5px; }
.social-links-container { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.social-btn { text-decoration: none; color: var(--text-main); font-weight: 600; display: flex; align-items: center; gap: 15px; background: rgba(74, 172, 2, 0.05); padding: 14px 22px; border-radius: 12px; transition: all 0.3s ease; font-size: 0.95rem; border: 1px solid rgba(74, 172, 2, 0.1); }
.social-btn svg { width: 20px; height: 20px; fill: var(--brand-green); transition: all 0.3s ease; }
.social-btn:hover { background: var(--fade-green); color: var(--white); border-color: transparent; transform: translateX(6px); box-shadow: var(--shadow-btn); }
.social-btn:hover svg { fill: var(--white); transform: scale(1.1); }
#kontakForm input, #kontakForm textarea { margin-top: 0; margin-bottom: 20px; }
#kontakForm button { width: 100%; }

/* Portofolio */
.portfolio-timeline { max-width: 1000px; margin: 20px auto 40px auto; padding: 0 20px; }
.sort-control { max-width: 1000px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: flex-end; margin-top: -20px; position: relative; z-index: 10; }
.sort-select { padding: 10px 20px; border-radius: 50px; border: 2px solid rgba(74, 172, 2, 0.2); background: var(--white); color: var(--text-main); font-weight: 700; font-size: 0.95rem; cursor: pointer; outline: none; transition: 0.3s; box-shadow: var(--shadow-float); }
.sort-select:focus, .sort-select:hover { border-color: var(--brand-green); }
.portfolio-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; position: relative; transition: all 0.5s ease; }
.portfolio-row.reverse { flex-direction: row-reverse; }
.portfolio-text { flex: 1; }
.portfolio-box { width: 400px; height: 250px; position: relative; border-radius: 20px; overflow: hidden; background: var(--fade-green); box-shadow: var(--shadow-float); display: flex; align-items: center; justify-content: center; }
.portfolio-box::before { content: ""; position: absolute; width: 100%; height: 100%; background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0,0,0,0.1) 0%, transparent 50%); opacity: 0.8; }
.fading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(4, 43, 20, 0) 20%, rgba(4, 43, 20, 0.75) 100%); z-index: 1; }
.year-display { position: absolute; bottom: 25px; right: 30px; font-size: 3.5rem; font-weight: 800; color: rgba(255, 255, 255, 0.9); z-index: 2; letter-spacing: -2px; line-height: 1; text-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.box-icon { font-size: 60px; z-index: 2; opacity: 0.85; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); }

/* Portofolio & General Tags */
.price-tag { color: var(--brand-red); font-weight: 800; font-size: 1.2rem; margin: 15px 0; }
.project-tag { display: inline-block; padding: 4px 12px; background: rgba(74, 172, 2, 0.1); color: var(--brand-green); font-size: 0.85rem; font-weight: 700; border-radius: 50px; margin-bottom: 12px; }
.project-client { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; margin-top: 10px; }

/* Syarat & Ketentuan */
.content-box { max-width: 800px; margin: -20px auto 60px; background: var(--white); padding: 40px; border-radius: 20px; box-shadow: var(--shadow-float); }
.content-box h3 { color: var(--brand-green); margin-top: 30px; margin-bottom: 15px; font-size: 1.3rem; }
.content-box p, .content-box ul { color: var(--text-main); font-size: 1.05rem; line-height: 1.8; margin-bottom: 15px; }
.content-box ul { padding-left: 20px; }
.content-box li { margin-bottom: 10px; }


/* ==========================================================================
   4. DETAIL PAGE (pages/ctr/, pages/tkn/, dsb)
   ========================================================================== */
.single-service-container { max-width: 1000px; margin: 140px auto 60px; padding: 0 30px; }
.badge-layanan { display: inline-flex; align-items: center; gap: 8px; background: #8a1f1f; color: var(--white); padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; margin-bottom: 25px; }
.badge-layanan svg { width: 18px; height: 18px; fill: currentColor; }
.single-service-title { font-size: 2.8rem; font-weight: 800; color: white; line-height: 1.3; margin-bottom: 30px; text-transform: uppercase; }
.single-service-desc { font-size: 1.05rem; color: white; line-height: 1.9; margin-bottom: 25px; text-align: justify; }
.price-highlight { font-size: 1.25rem; font-weight: 800; color: var(--brand-green); background: rgba(74, 172, 2, 0.08); padding: 15px 25px; border-radius: 12px; display: inline-block; margin: 15px 0 30px; border: 1px solid rgba(74, 172, 2, 0.2); }
main h3{
    color:var(--white)
}
/* Galeri Foto di Detail Page */
.gallery-section { margin-top: 50px; }
.gallery-title { font-size: 2.2rem; font-weight: 800; color: #b82323; margin-bottom: 30px; display: inline-block; border-bottom: 2px solid #ccc; padding-bottom: 10px; padding-right: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 15px; box-shadow: var(--shadow-float); transition: transform 0.3s ease; background-color: var(--fade-green); }
.gallery-grid img:hover { transform: scale(1.03); }

/* Card Rincian di Detail Page */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.detail-card { background: rgba(255, 255, 255, 0.1); border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-float); transition: 0.4s ease; border: 1px solid rgba(74, 172, 2, 0.05); display: flex; flex-direction: column; }
.detail-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); border-color: var(--brand-green); }
.detail-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 4px solid var(--brand-green); background-color: var(--fade-green); }
.detail-content { padding: 25px; padding-top:0;flex-grow: 1; }
.detail-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; padding-bottom: 10px; }
.detail-overlay {position:absolute;inset:0;display:flex;justify-content:center;align-items:center;padding:20px;text-align:center;color:#fff;font-size:1.5rem;font-weight:700;line-height:1.4;text-transform:uppercase;}


/* ==========================================================================
   5. ADMIN & AUTHENTICATION (admin/admin.html, login.html)
   ========================================================================== */
/* Login Page */
.login-body { background: var(--fade-green); display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box { background: var(--white); padding: 50px 40px; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); width: 100%; max-width: 400px; text-align: center; }
.login-box img { max-width: 150px; margin-bottom: 30px; }

/* Admin Dashboard */
.admin-body { background-color: var(--bg-light); display: flex; margin: 0; min-height: 100vh; overflow-x: hidden; }
.admin-sidebar { width: 280px; background: var(--white); box-shadow: 5px 0 25px rgba(74, 172, 2, 0.05); position: fixed; height: 100vh; display: flex; flex-direction: column; z-index: 2000; transition: transform 0.4s ease; }
.admin-nav { padding: 30px 20px; display: flex; flex-direction: column; gap: 10px; }
.admin-nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; padding: 15px 25px; border-radius: 12px; transition: all 0.3s ease; cursor: pointer; }
.admin-nav a:hover, .admin-nav a.active { background: var(--fade-green); color: var(--white); }
.admin-main { margin-left: 280px; width: calc(100% - 280px); padding: 40px 50px; transition: margin 0.4s ease, width 0.4s ease; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.stat-card { background: var(--white); padding: 30px; border-radius: 20px; box-shadow: var(--shadow-float); position: relative; border: 1px solid rgba(74, 172, 2, 0.05); }

/* Admin Tables & Forms */
.admin-table-container { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-float); margin-bottom: 30px; }
.admin-table-container table { width: 100%; border-collapse: collapse; }
.admin-table-container th, .admin-table-container td { padding: 18px 15px; text-align: left; border-bottom: 1px solid rgba(74, 172, 2, 0.1); }
.select-status { padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(74, 172, 2, 0.3); background: var(--bg-light); font-weight: 600; color: var(--text-main); cursor: pointer; outline: none; }
.select-status:focus { border-color: var(--brand-green); }


/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================================================== */

.mobile-menu-btn { display: none; font-size: 28px; cursor: pointer; color: var(--white); font-weight: bold; }
.admin-mobile-toggle { display: none; }

/* Tablet (Max-width: 992px) */
@media (max-width: 992px) {
    .nav-container { flex-wrap: wrap; }
    .mobile-menu-btn { display: block; pointer-events: auto; z-index: 1001; }
    /* Di dalam media query mobile lo (misal maks 768px atau 992px) */
    #mainNav {
        display: none; /* Sembunyikan menu default di mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter:blur(10px);
        /* Tambahkan style box/shadow pembungkus menu mobile lo di sini */
    }

    /* 🔥 INI YANG WAJIB ADA: Aturan ketika menu di-klik (aktif) */
    #mainNav.active {
        background-color: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px); 
        display: flex !important; /* Memaksa menu tampil saat class 'active' dipasang oleh JS */
    }
    #mainNav a{
        color: var(--brand-green);
    }
    
    nav { display: none; width: 100%; flex-direction: column; gap: 15px; margin-top: 15px; background: rgba(255, 255, 255, 0.98); padding: 20px; border-radius: 10px; box-shadow: var(--shadow-float); }
    nav.active { display: flex !important; }
    nav a.btn { margin-left: 0 !important; width: 100%; text-align: center; }

    /* Admin Responsif */
    .admin-sidebar { transform: translateX(-100%); transition: 0.4s ease; z-index: 2000; }
    .admin-sidebar.active { transform: translateX(0) !important; }
    .admin-main { margin-left: 0; width: 100%; padding: 20px; padding-top: 80px; }
    .stat-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
    .admin-mobile-toggle { display: block; position: fixed; top: 15px; left: 15px; z-index: 2001; background: var(--fade-green); color: var(--white); border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; box-shadow: var(--shadow-btn); font-weight: bold; }
    
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

/* Mobile (Max-width: 768px) */
@media (max-width: 768px) {
    .logo-header img{
        height: 1000px; width: auto;
    }

   /* Di dalam media query mobile lo (misal maks 768px atau 992px) */
    #mainNav {
        display: none; /* Sembunyikan menu default di mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px); 
        /* Tambahkan style box/shadow pembungkus menu mobile lo di sini */
    }

    /* 🔥 INI YANG WAJIB ADA: Aturan ketika menu di-klik (aktif) */
    #mainNav.active {
        background: rgba(255, 255, 255, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px); 
        display: flex !important; /* Memaksa menu tampil saat class 'active' dipasang oleh JS */
    }
   .nav-container { flex-wrap: wrap; }
    .mobile-menu-btn { display: block; pointer-events: auto; z-index: 1001; }
    
    nav { display: none; width: 100%; flex-direction: column; gap: 15px; margin-top: 15px; background: rgba(255, 255, 255, 0.98); padding: 20px; border-radius: 10px; box-shadow: var(--shadow-float); }
    nav.active { display: flex !important; }
    nav a.btn { margin-left: 0 !important; width: 100%; text-align: center; }

    .hero { padding: 120px 20px 60px 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; margin-bottom: 10px; }

    .inner-hero { padding: 100px 20px 40px; }
    .inner-hero h1 { font-size: 1.8rem; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 25px; }
    .contact-info { padding: 25px 20px; }
    .form-container { padding: 20px; }

    .admin-table-container { overflow-x: auto; padding: 15px; }
    .admin-table-container table { min-width: 800px; }
    
    .service-grid { grid-template-columns: 1fr; }

    .portfolio-row, .portfolio-row.reverse { flex-direction: column !important; gap: 30px; margin-bottom: 60px; text-align: center; }
    .portfolio-box { width: 100%; height: 200px; }
    .year-display { font-size: 2.8rem; bottom: 15px; right: 20px; }
    .sort-control { justify-content: center; margin-bottom: 20px; }

    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }

    .single-service-container { margin-top: 110px; }
    .single-service-title { font-size: 2rem; }
    .gallery-title { font-size: 1.8rem; }
}