/* ============================================
   NC MİMARLIK - Tadilat & İç Mimari
   Color Palette inspired by bgdesign.tr:
   Primary Gold: #B59E7B
   Dark: #181818
   Light BG: #F8F8F8
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #B59E7B;
    --gold-light: #CBBEA3;
    --gold-dark: #9A8463;
    --dark: #181818;
    --dark-lighter: #222222;
    --dark-card: #1E1E1E;
    --light: #F8F8F8;
    --light-mid: #ECECEC;
    --text-dark: #333333;
    --text-mid: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --whatsapp: #25D366;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

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

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

.section {
    padding: 120px 0;
    position: relative;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-text {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.loader-bar {
    width: 60px;
    height: 2px;
    background: var(--gold-dark);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* ---- Navigation ---- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

#navbar.internal-nav {
    background: rgba(24, 24, 24, 0.98);
    position: sticky;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-nc {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: rgba(181, 158, 123, 0.5);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---- Hero Section ---- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 24, 24, 0.85) 0%,
        rgba(24, 24, 24, 0.60) 50%,
        rgba(24, 24, 24, 0.40) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 60px;
}

.hero-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-tag::before {
    content: '';
    width: 50px;
    height: 1.5px;
    background: var(--gold);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--gold);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(181, 158, 123, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ---- Page Headers (Internal Pages) ---- */
.page-header {
    position: relative;
    padding: 160px 0 100px;
    background: var(--dark);
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;;
    object-fit: cover;
    filter: blur(4px) grayscale(30%);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(24,24,24,0.7), rgba(24,24,24,0.95));
}

.page-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .separator {
    color: var(--gold);
}

.breadcrumb .current {
    color: var(--gold);
}

.relative { position: relative; }
.z-10 { z-index: 10; }

/* ---- Section Common ---- */
.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--gold-light);
}

.section-title {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 600px;
    font-weight: 300;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---- About Section ---- */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    z-index: -1;
}

.about-image-col {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -40px;
    background: var(--dark);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.6;
}

.about-text {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-mid);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
}

.stat-number::after {
    content: '+';
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ---- Services Section ---- */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--light);
    padding: 45px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay, 0s);
}

.service-card:hover {
    background: var(--dark);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-title,
.service-card:hover .service-desc {
    color: var(--white);
}

.service-card:hover .service-desc {
    color: rgba(255,255,255,0.6);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 28px;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
    transition: var(--transition);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
    transition: var(--transition);
}

.service-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.5s ease;
}

.service-card:hover .service-line {
    width: 100%;
}

/* Detailed Services (Services Page) */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.service-detail.reverse .service-detail-img {
    order: 2;
}

.service-detail-img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-content p {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--dark);
}

.service-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(181, 158, 123, 0.15);
    color: var(--gold-dark);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* ---- Projects Section ---- */
.projects {
    background: var(--light);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid var(--light-mid);
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(181, 158, 123, 0.08);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    animation-delay: var(--delay, 0s);
    transition: var(--transition);
}

.project-card.hidden {
    display: none;
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-image:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(24,24,24,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.project-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.project-location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Full Project Card (Projeler Page) */
.project-card-full {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card-full:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-card-full .project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.project-card-full:hover .project-image img {
    transform: scale(1.08);
}

.project-card-full .project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-full .pc-category {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-card-full .pc-title {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.project-card-full .pc-desc {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-card-full .pc-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    margin-top: auto;
}

.project-card-full .pc-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-mid);
}

.project-card-full .pc-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ---- Process Section ---- */
.process {
    background: var(--dark);
}

.process .section-title {
    color: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
    animation-delay: var(--delay, 0s);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(181, 158, 123, 0.2);
    margin-bottom: 20px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    color: var(--gold);
}

.step-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.step-line {
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 1px;
    background: rgba(181, 158, 123, 0.3);
}

.process-step:last-child .step-line {
    display: none;
}

/* ---- Testimonial Section ---- */
.testimonial-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
}

.testimonial-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 24, 0.88);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    min-height: 200px;
    margin: 40px 0;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.author-title {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.test-nav-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.test-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.test-nav-btn svg {
    width: 20px;
    height: 20px;
}

.test-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: var(--dark);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ---- Contact Section ---- */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item:hover .contact-icon {
    background: var(--gold);
    color: var(--white);
}

.contact-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--light-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ---- Form Styles ---- */
.contact-form {
    background: var(--light);
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--light-mid);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 16px;
    font-size: 0.7rem;
    color: var(--gold);
    background: var(--light);
    padding: 0 4px;
}

.form-group select {
    width: 100%;
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--light-mid);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-group select:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: 10px;
    font-size: 0.75rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.1);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.newsletter-form button {
    padding: 14px 18px;
    background: var(--gold);
    border: none;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gold-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

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

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 100;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--dark);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.back-to-top:hover {
    background: var(--gold);
    color: var(--dark);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ---- Scroll Reveal Animations ---- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--delay, 0s);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .page-title {
        font-size: 3rem;
    }
    
    .service-detail {
        gap: 50px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-grid {
        gap: 50px;
    }

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

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

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-line {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 80px 0;
    }
    
    .page-header {
        padding: 140px 0 80px;
    }

    .service-detail, .service-detail.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail.reverse .service-detail-img {
        order: -1;
    }

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

    .experience-badge {
        right: 10px;
        bottom: 10px;
    }

    .about-stats {
        gap: 24px;
    }

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

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

    .project-filters {
        flex-wrap: wrap;
    }

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

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

    .contact-form {
        padding: 30px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.7rem;
    }

    .experience-badge {
        padding: 16px 20px;
    }

    .exp-number {
        font-size: 2.2rem;
    }
}
