/* bafra-vinc-konteyner/assets/css/main.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #111827;
    /* Dark Navy Backgrounds */
    --primary-hover: #1f2937;
    --secondary: #F97316;
    /* Bright Orange */
    --secondary-hover: #EA580C;
    --bg-light: #FFFFFF;
    --bg-gray: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #111827;
    --text-light: #F9FAFB;
    --text-muted: #6B7280;
    --text-muted-dark: #9CA3AF;
    --border: #E5E7EB;
    --border-dark: #374151;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-dark {
    background-color: var(--primary);
    color: var(--white);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.section-dark p {
    color: var(--text-muted-dark);
}

.text-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: var(--white) !important;
}

.btn-outline {
    border: 1px solid var(--border-dark);
    color: var(--white) !important;
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
}

.btn-outline-dark {
    border: 1px solid var(--border-dark);
    color: var(--primary);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Header */
.site-header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1002;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Page Header (Inner pages) */
.page-header {
    background-color: var(--primary);
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-top: 1rem;
    line-height: 1.2;
}

.page-header.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary);
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.mobile-menu-footer {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.header-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-cta .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 4px;
}

.header-cta-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-cta-link:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.95)), url('../images/agir-yuk-kaldirma.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    text-align: left;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.hero h1 {
    color: var(--white);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--text-muted-dark);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.text-center .hero-cta {
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted-dark);
}

/* Small Label Header */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.text-center .section-tag {
    justify-content: center;
}

.text-center .section-tag::before {
    display: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2rem;
    background: var(--white);
    text-align: left;
    border: 1px solid var(--border);
    transition: var(--transition);
    border-radius: 8px;
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Why Us (Neden Biz) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: left;
}

.feature-icon {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted-dark);
    margin-bottom: 0;
}

/* Stats Large */
.stats-large {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    text-align: center;
}

.stats-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    letter-spacing: -0.05em;
    pointer-events: none;
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.stat-box h3 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-box p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Content Grid (Subpages) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.section-light {
    background-color: var(--bg-gray);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white) !important;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    color: var(--white) !important;
}

.ai-block {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 2rem;
}

.ai-block h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.ai-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* Modern Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.gallery-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(11, 31, 51, 0.08);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f3f4f6;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.06);
}

.gallery-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(17, 24, 39, 0.85);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-content {
    padding: 1.5rem;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-content h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

.gallery-card:hover .gallery-content h3 {
    color: var(--secondary);
}

.gallery-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}


.contact-info-card {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    color: var(--primary);
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--secondary);
    font-weight: 600;
}

.map-container {
    background: var(--bg-gray);
    border-radius: 8px;
    min-height: 400px;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* M-Bar Styles (Mobile Contact Bar Inner) */
.m-bar-inner {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
}

.m-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.m-bar-item svg {
    width: 22px;
    height: 22px;
}

.m-bar-item.whatsapp {
    color: #25D366;
}

/* Content Sections (Hakkımızda) */
.content-multi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.content-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0.875rem;
    background: rgba(17, 24, 39, 0.9);
    padding: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.experience-badge h4 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 0;
    font-weight: 800;
}

.content-multi ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.content-multi ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    group;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.project-tag {
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.project-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.project-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-list {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}

.contact-info-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

.contact-form {
    background: transparent;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 8px;
}

.stars {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.test-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.test-name h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.test-name p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #080e17;
    padding: 5rem 0 0 0;
    position: relative;
    color: var(--white);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 40%, var(--primary) 60%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-desc {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.footer-col h4 {
    font-size: 0.7rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col p {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: inherit;
    font-size: inherit;
    padding-left: 0 !important;
}

.footer-contact-item a:hover {
    color: var(--secondary);
    padding-left: 0 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom p {
    margin: 0;
    line-height: 1;
}

.footer-bottom-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-credit a {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    transition: color 0.2s;
    padding-left: 0 !important;
}

.footer-bottom-credit a:hover {
    color: var(--secondary);
    padding-left: 0 !important;
}


/* Responsive overrides */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
        min-height: 70vh;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-multi {
        grid-template-columns: 1fr;
    }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }

  .content-grid { grid-template-columns: 1fr; gap: 2rem; }


    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    /* Mobile Menu Button (Hamburger) */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .mobile-toggle .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: var(--white);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

    /* Morphing to X */
    .mobile-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Slide-in Mobile Drawer Navigation */
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background-color: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2.5rem 3rem 2.5rem;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.4);
        align-items: flex-start;
        gap: 1.25rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-muted-dark);
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--secondary) !important;
        border-bottom-color: var(--secondary);
    }

    .nav-menu a.active::after {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        background-color: var(--secondary);
        border-radius: 50%;
    }

    /* Mobile menu footer info */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu-footer .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem;
        justify-content: center;
    }

    .mobile-menu-footer p {
        color: var(--text-muted-dark);
        font-size: 0.8rem;
        text-align: center;
        margin: 0;
    }

    .header-cta {
        display: none;
    }

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

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

    .stats-grid-large {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-bg-text {
        font-size: 6rem;
        top: 10%;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
        min-height: 60vh;
    }

    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Mobile Contact Bar */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 1001;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mobile-contact-bar-inner {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
}

.mobile-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted-dark);
}

.mobile-action svg {
    width: 24px;
    height: 24px;
}

.mobile-action.call {
    color: var(--secondary);
}

.mobile-action.whatsapp {
    color: #25D366;
}

.mobile-action.location {
    color: #4285F4;
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }
}

/* FAQ Styles */
.faq-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-gray);
    transition: var(--transition);
}

.faq-item:focus-within,
.faq-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-a.open {
    max-height: 800px;
}

.faq-a-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* WhatsApp Chat Button */
.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: var(--white) !important;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.whatsapp-chat-btn:hover {
    background-color: #1da851;
}

/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 51, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(8px);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.gallery-lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-title {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 992px) {
    .lightbox-prev {
        left: -10px;
        background: rgba(11, 31, 51, 0.7);
    }
    .lightbox-next {
        right: -10px;
        background: rgba(11, 31, 51, 0.7);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
    .whatsapp-widget {
        bottom: 140px;
        right: 16px;
    }
    .whatsapp-box {
        width: 290px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    box-shadow: 0 6px 24px rgba(11, 31, 51, 0.4);
}

/* ============================================
   WHATSAPP FLOATING WIDGET
   ============================================ */
@keyframes whatsapp-pulse {
    0%   { transform: scale(1); opacity: 0.7; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-widget {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-button {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    margin-left: auto;
    border: none;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF3B30;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.whatsapp-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 310px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(11, 31, 51, 0.18);
    overflow: hidden;
    transform: scale(0.9) translateY(12px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-box.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: scale(1) translateY(0);
}

.whatsapp-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #075E54;
    color: var(--white);
}

.whatsapp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-avatar-info {
    flex: 1;
}

.whatsapp-avatar-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 2px;
}

.whatsapp-avatar-info p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.whatsapp-close {
    color: rgba(255,255,255,0.7);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.whatsapp-close:hover {
    color: var(--white);
}

.whatsapp-box-body {
    padding: 1.25rem;
    background: #E5DDD5;
}

.whatsapp-message {
    background: var(--white);
    border-radius: 0 12px 12px 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    max-width: 90%;
}

.whatsapp-sender {
    font-size: 0.75rem;
    font-weight: 700;
    color: #075E54;
    display: block;
    margin-bottom: 4px;
}

.whatsapp-message p {
    font-size: 0.88rem;
    color: var(--primary);
    margin: 0 0 4px;
    line-height: 1.5;
}

.whatsapp-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    text-align: right;
}

.whatsapp-box-footer {
    padding: 0.75rem 1.25rem;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
    .whatsapp-widget {
        bottom: 140px;
        right: 16px;
    }
    .whatsapp-box {
        width: 290px;
    }
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary); /* Dark Navy */
    z-index: 10000;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.page-transition-overlay.fade-out {
    opacity: 0;
}

.page-transition-overlay.out {
    opacity: 0;
    pointer-events: all;
}

.page-transition-overlay.out.active {
    opacity: 1;
}
/* Fix CTA alignments */
.text-center .hero-cta { justify-content: center; align-items: center; }
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Fix CTA alignments */
.text-center .hero-cta { justify-content: center; align-items: center; }
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
