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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --warm-white: #faf8f5;
    --warm-off-white: #f5f1ed;
    --bronze: #c9a961;
    --bronze-dark: #b8935a;
    --accent-light: #e8dcc8;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(201, 169, 97, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(250, 248, 245, 0.98);
    box-shadow: 0 2px 20px rgba(26, 26, 26, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 1px;
}

.brand-title{
        margin: 0;
        display: inline-block;
        font: inherit;
        letter-spacing: inherit;
        text-transform: inherit;
        font-family: 'Playfair Display', serif;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--charcoal);
        letter-spacing: 1px;
      }

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;

    min-width: 260px;
    padding: 12px 0;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 999;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 10px 20px;

    font-size: 14.5px;
    font-weight: 500;
    color: #2c2c2c;
    text-decoration: none;

    transition: 
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

.dropdown a:hover {
    background: rgba(0,0,0,0.04);
    padding-left: 26px;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--bronze);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bronze);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    background-image: url('./images/mersin_pvc_pimapen_dark_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}

@media (max-width: 768px){
  .hero{ background-image: url('/images/mersin_pvc_pimapen_dark_1.png'); }
}

@media (hover: none) and (pointer: coarse) {
  .hero {
    background-attachment: scroll;
  }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--accent-light);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes staggerFadeIn {
  from { transform: translateY(12px); opacity: .92; }
  to   { transform: translateY(0);    opacity: 1; }
}

.animate-stagger {
  opacity: 1;
  transform: translateY(12px);
  animation: staggerFadeIn .35s cubic-bezier(.25,.46,.45,.94) forwards;
  animation-delay: 0s;
  will-change: transform, opacity;
}

.animate-stagger:nth-child(1),
.animate-stagger:nth-child(2),
.animate-stagger:nth-child(3) {
 animation-delay: 0s;
}


@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--bronze);
    color: var(--charcoal);
    border-color: var(--bronze);
}

.btn-primary:hover {
    background-color: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--warm-white);
    border-color: var(--warm-white);
}

.btn-secondary:hover {
    background-color: var(--warm-white);
    color: var(--charcoal);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

section {
    padding: 6rem 0;
}

.page-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--warm-white);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bronze);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    max-width: 700px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

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

.service-card {
    display: block;
    padding: 2.5rem 2rem;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
    text-decoration: none;
    color: var(--charcoal);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(26, 26, 26, 0.1);
    border-color: var(--bronze);
}

.service-icon {
    color: var(--bronze);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-grid-full {
    display: grid;
    gap: 2rem;
}

.service-card-full {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    padding: 0;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
    overflow: hidden;
    text-decoration: none;
    color: var(--charcoal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-full:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(26, 26, 26, 0.1);
}

.service-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-full:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card-content p {
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--bronze);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: left;
}

.feature-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bronze);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--charcoal-light);
    line-height: 1.7;
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.feature-box {
    padding: 2rem;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--bronze);
}

.feature-icon-box {
    color: var(--bronze);
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.feature-box p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item-full {
    position: relative;
    overflow: hidden;
    cursor: pointer;

    aspect-ratio: 4 / 3;
    border: 1px solid rgba(201, 169, 97, 0.2);
}


.gallery-item-full img {
    width: 100%;
    height: 100%;          
    object-fit: cover;     
    display: block;
    transition: transform 0.5s ease;
}


.gallery-item-full:hover img {
    transform: scale(1.05);
}


.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--warm-white);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item-full:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(201, 169, 97, 0.9);
    color: var(--charcoal);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--bronze);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.service-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
    text-align: center;
}

.service-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--warm-white);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.service-hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.service-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-intro-text .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.service-intro-image{
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;       
}

.service-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;         
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--charcoal-light);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bronze);
    font-weight: bold;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.step-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bronze);
    margin-bottom: 1rem;
}

.process-step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-cta-card {
    display: block;
    padding: 3rem 2rem;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
    text-align: center;
    text-decoration: none;
    color: var(--charcoal);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-cta-card:hover {
    transform: translateY(-5px);
    border-color: var(--bronze);
    box-shadow: 0 10px 40px rgba(26, 26, 26, 0.1);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-icon.whatsapp {
    color: #25D366;
}

.contact-icon.phone {
    color: var(--bronze);
}

.contact-icon.instagram {
    color: #E4405F;
}

.contact-cta-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bronze);
    margin-bottom: 1rem;
}

.contact-cta-card p {
    color: var(--charcoal-light);
    line-height: 1.6;
}

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

.info-card {
    padding: 2.5rem;
    background-color: var(--warm-off-white);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.info-icon {
    color: var(--bronze);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
    color: var(--charcoal-light);
}

.info-list li:last-child {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(135deg, var(--charcoal-light) 0%, var(--charcoal) 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.footer {
    background-color: var(--charcoal);
    color: var(--warm-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    color: var(--bronze);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--accent-light);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--bronze);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    color: var(--accent-light);
    font-size: 0.9rem;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--warm-white);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(26, 26, 26, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

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

    .service-card-image {
        height: 250px;
    }

    .service-card-content {
        padding: 2rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 4rem 0;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .nav-brand h1 {
        font-size: 1rem;
    }

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {

  #navMenu.active li.has-dropdown > ul.dropdown{
    all: unset !important;

    display: block !important;
    margin: .6rem 0 0 0 !important;
    padding: 0 0 0 14px !important;
    list-style: none !important;
  }

  #navMenu.active li.has-dropdown > ul.dropdown > li{
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navMenu.active li.has-dropdown > ul.dropdown > li > a{
    display: block !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    color: var(--charcoal) !important;
    text-decoration: none !important;
  }

  #navMenu.active li.has-dropdown > a.nav-link{
    pointer-events: none !important;
    font-weight: 600 !important;
  }

  #navMenu.active li.has-dropdown:hover > ul.dropdown{
    display: block !important;
  }
}

@media (max-width: 768px){

  .nav-menu{
    overflow-y: auto;            
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6rem;         
  }

  .nav-menu::after{
    content:"";
    display:block;
    height: 24px;
  }
}

/* ===== LCP FIX: hero ve page hero default görünür olsun ===== */

/* JS yoksa: görünür (LCP hızlı) */
.hero-title,
.hero-subtitle,
.hero-cta,
.page-title,
.page-subtitle,
.service-hero-title,
.service-hero-subtitle{
  opacity: 1 !important;
  transform: none !important;
}

/* JS varsa: animasyon için gizle */
html.js .hero-title,
html.js .hero-subtitle,
html.js .hero-cta,
html.js .page-title,
html.js .page-subtitle,
html.js .service-hero-title,
html.js .service-hero-subtitle{
  opacity: 0 !important;
  transform: translateY(18px) !important;
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}

/* JS “aç” dediğinde */
html.js .in-view{
  opacity: 1 !important;
  transform: none !important;
}
