
    /* ===== CSS RESET & VARIABLES ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --font-heading: 'Playfair Display', 'Georgia', serif;
      --font-body: 'Montserrat',sans-serif;
      --transition-speed: 0.4s;
      --accent: #f15025;
      --accent-hover: #ff6a3d;
      /* Dark theme defaults */
      --bg: #121212;
      --bg-secondary: #1a1a1a;
      --bg-card: #1e1e1e;
      --text: #ffffff;
      --text-secondary: #b0b0b0;
      --text-muted: #777777;
      --overlay: rgba(18,18,18,0.85);
      --border: rgba(255,255,255,0.08);
      --nav-bg: rgba(18,18,18,0.92);
      --grain: none;

    }
.logo {
  height: 50px;
}

.logo-dark {
  display: none;
}

html[data-theme="dark"] .logo-light {
  display: none;
}


html[data-theme="dark"] .logo-dark {
  display: block;
}


    [data-theme="light"] {
      --bg: #f5f5f5;
      --bg-secondary: #ebebeb;
      --bg-card: #ffffff;
      --text: #111111;
      --text-secondary: #444444;
      --text-muted: #888888;
      --overlay: rgba(245,245,245,0.88);
      --border: rgba(0,0,0,0.08);
      --nav-bg: rgba(245,245,245,0.94);
      --accent: #f15025;
      --accent-hover: #d9421a;
      --grain: none;
    }

    [data-theme="wooden"] {
      --bg: #2c1e12;
      --bg-secondary: #3a2a1a;
      --bg-card: #3e2c1c;
      --text: #fdf5e6;
      --text-secondary: #d4c4a8;
      --text-muted: #a08c6e;
      --overlay: rgba(44,30,18,0.88);
      --border: rgba(253,245,230,0.1);
      --nav-bg: rgba(44,30,18,0.94);
      --accent: #d4862a;
      --accent-hover: #e8a043;
      --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    }

    /* ===== GLOBAL ===== */
    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      transition: background-color var(--transition-speed) ease,
                  color var(--transition-speed) ease;
      overflow-x: hidden;
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background: var(--grain);
      pointer-events: none;
      z-index: 9998;
      opacity: 0.5;
    }

    h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

    .container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
    .section-padding { padding: 100px 0; }

    .accent-text { color: var(--accent); }
    .section-label {
      font-family: var(--font-body);
      font-weight: 500;
      font-size: 2rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(2rem, 5vw, 5rem);
      margin-bottom: 20px;
    }
    .section-subtitle {
      font-size: 1rem;
      color: var(--text-secondary);
      max-width: 560px;
      font-weight: 300;
    }
    .section-header { margin-bottom: 60px; }

    /* ===== NAVBAR ===== */
    .navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      background: var(--nav-bg);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      transition: background var(--transition-speed) ease,
                  border-color var(--transition-speed) ease;
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .nav-logo {
      font-family: var(--font-heading);
      font-size: 1.4rem;
      font-weight: 700;
      letter-spacing: -0.5px;
    }
    .nav-logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 32px; list-style: none; }
    .nav-links a {
      font-size: 0.85rem;
      font-weight: 400;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--text-secondary);
      transition: color 0.3s ease;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1.5px;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-links a:hover::after { width: 100%; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 4px;
    }
    .hamburger span {
      width: 24px; height: 2px;
      background: var(--text);
      transition: all 0.3s ease;
    }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ===== HERO ===== */
    .hero {
      position: relative;
      min-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .hero-slider {
      position: absolute; inset: 0;
    }
    .hero-slide {
      position: absolute; inset: 0;
      opacity: 0;
      transition: opacity 1.2s ease;
    }
    .hero-slide.active { opacity: 1; }
    .hero-slide img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.65) 100%
      );
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 24px;
      max-width: 860px;
    }
    .hero-content .section-label { color: #f15025; margin-bottom: 20px; }
    .hero-content h1 {
      font-size: clamp(2.4rem, 6vw, 4.5rem);
      color: #fff;
      margin-bottom: 24px;
      font-weight: 700;
      letter-spacing: -1px;
    }
    .hero-content h1 em {
      font-style: italic;
      color: #f15025;
    }
    .hero-content p {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.8);
      font-weight: 300;
      margin-bottom: 40px;
      max-width: 600px;
      margin-left: auto; margin-right: auto;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 40px;
      background: var(--accent);
      color: #fff;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
      border-radius: 0;
      transition: all 0.3s ease;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(241,80,37,0.3);
    }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 36px;
      background: transparent;
      color: var(--text);
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
      border: 1.5px solid var(--border);
      transition: all 0.3s ease;
    }
    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .hero-scroll {
      position: absolute;
      bottom: 40px; left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      color: rgba(255,255,255,0.6);
      font-size: 1rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      display: flex; flex-direction: column; align-items: center; gap: 8px;
    }
    .hero-scroll .line {
      width: 1px; height: 40px;
      background: rgba(255,255,255,0.3);
      animation: scrollPulse 2s infinite;
    }
    @keyframes scrollPulse {
      0%, 100% { transform: scaleY(1); opacity: 0.4; }
      50% { transform: scaleY(1.4); opacity: 1; }
    }

    /* ===== PORTFOLIO ===== */
    .portfolio-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 40px;
    }
    .filter-tabs {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .filter-tab {
      padding: 8px 20px;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text-muted);
      background: transparent;
      border: 1px solid transparent;
      border-radius: 0;
      transition: all 0.3s ease;
    }
    .filter-tab:hover { color: var(--text); }
    .filter-tab.active {
      color: var(--accent);
      border-color: var(--accent);
    }

        .theme-switcher {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 1rem;
            border-radius: 2px;
            border: 1px solid var(--border);
        }
        
        .theme-btn {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .theme-btn:hover {
            transform: scale(1.1);
        }
        
        .theme-btn.active {
            border-color: #f15025;
            transform: scale(1.15);
        }
        
        .theme-btn.dark {
            background-color: #121212;
        }
        
        .theme-btn.light {
            background-color: #f5f5f5;
        }
        
        .theme-btn.wooden {
            background: linear-gradient(135deg, #3d2b24 0%, #5a4238 100%);
        }

    /* Gallery Grid */
    .gallery-grid {
            columns: 4;
            column-gap: 16px;
          }

    .gallery-item {
            break-inside: avoid;
            margin-bottom: 16px;
            position: relative;
            overflow: hidden;
            border-radius: 12px; /* 👈 smooth edges start here */
                }
    .gallery-item.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .gallery-item.hidden { display: none; }

    /* Masonry-like varying heights */
    .gallery-item.tall { grid-row: span 2; }
    .gallery-item .img-wrap {
      width: 100%; height: 100%;
      position: relative;
      overflow: hidden;
    }
    .gallery-item.tall .img-wrap {  }
    .gallery-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .gallery-item:hover img { transform: scale(1.05); }
    .gallery-item .item-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
    }
    .gallery-item:hover .item-overlay { opacity: 1; }
    .item-overlay h4 {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      color: #fff;
      margin-bottom: 4px;
    }
    .item-overlay p {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.7);
      font-weight: 300;
    }

    .load-more-wrap {
      text-align: center;
      margin-top: 60px;
    }
    .load-more-btn {
      padding: 16px 48px;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text);
      background: transparent;
      border: 1.5px solid var(--border);
      transition: all 0.3s ease;
    }
    .load-more-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .load-more-btn:disabled {
      opacity: 0.4;
      cursor: default;
    }
    .image-counter {
      margin-top: 16px;
      font-size: 0.8rem;
      color: var(--text-muted);
      letter-spacing: 1px;
    }

    /* ===== FEATURED PROJECTS ===== */
    .featured-grid {
      display: grid;
      gap: 20px;
    }
    .featured-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: center;
    }
    .featured-item:nth-child(even) .featured-img { order: 2; }
    .featured-item:nth-child(even) .featured-info { order: 1; }
    .featured-img {
      position: relative;
      overflow: hidden;
    }
    .featured-img img {
      width: 80%;
      aspect-ratio: 4/5;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .featured-img:hover img { transform: scale(1.03); }
    .featured-tag {
      font-size: 1rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      font-weight: 500;
    }
    .featured-info h3 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .featured-info p {
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.8;
      margin-bottom: 24px;
    }

    /* ===== SERVICES ===== */
    .services-section { background: var(--bg-secondary); transition: background var(--transition-speed) ease; }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
    }
    .service-card {
      padding: 40px 32px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 3px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card:hover { transform: translateY(-4px); }
    .service-icon {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .service-card h4 {
      font-size: 1.15rem;
      margin-bottom: 12px;
    }
    .service-card p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.7;
    }

    /* ===== ABOUT ===== */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .about-img {
      position: relative;
    }
    .about-img img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
    }
    .about-img .accent-border {
      position: absolute;
      top: 20px; left: 20px; right: -20px; bottom: -20px;
      border: 2px solid var(--accent);
      z-index: -1;
      transition: border-color var(--transition-speed) ease;
    }
    .about-info h3 {
      font-size: 2.2rem;
      margin-bottom: 24px;
    }
    .about-info p {
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.9;
      margin-bottom: 16px;
    }
    .about-stats {
      display: flex;
      gap: 40px;
      margin-top: 32px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
    }
    .stat h4 {
      font-size: 2rem;
      color: var(--accent);
    }
    .stat p {
      font-size: 0.8rem;
      color: var(--text-muted);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 0;
    }

    /* ===== CONTACT ===== */
    .contact-section { background: var(--bg-secondary); transition: background var(--transition-speed) ease; }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
    }
    .contact-form { display: flex; flex-direction: column; gap: 20px; }
    .form-group { position: relative; }
    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 16px 0;
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--text);
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border);
      outline: none;
      transition: border-color 0.3s ease;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--text-muted); }
    .form-group input:focus,
    .form-group textarea:focus { border-color: var(--accent); }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .contact-info-side h3 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    .contact-info-side p {
      color: var(--text-secondary);
      font-weight: 300;
      line-height: 1.8;
      margin-bottom: 32px;
    }
    .contact-links { display: flex; flex-direction: column; gap: 16px; }
    .contact-link {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.95rem;
      color: var(--text-secondary);
      transition: color 0.3s ease;
    }
    .contact-link:hover { color: var(--accent); }
    .contact-link .icon { font-size: 1.2rem; }
    .social-buttons {
      display: flex;
      gap: 12px;
      margin-top: 32px;
    }
    .social-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      border: 1px solid var(--border);
      color: var(--text);
      transition: all 0.3s ease;
    }
    .social-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .social-btn.whatsapp:hover { border-color: #25D366; color: #25D366; }

    /* ===== FOOTER ===== */
    footer {
      padding: 40px 0;
      border-top: 1px solid var(--border);
      transition: border-color var(--transition-speed) ease;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-logo {
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 600;
    }
    .footer-logo span { color: var(--accent); }
    .footer-text {
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .footer-social {
      display: flex;
      gap: 20px;
    }
    .footer-social a {
      color: var(--text-muted);
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }
    .footer-social a:hover { color: var(--accent); }

    /* ===== LIGHTBOX ===== */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(0,0,0,0.95);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .lightbox.active { opacity: 1; visibility: visible; }
    .lightbox-close {
      position: absolute;
      top: 24px; right: 32px;
      font-size: 2rem;
      color: #fff;
      cursor: pointer;
      z-index: 10;
      transition: color 0.3s ease;
      background: none; border: none;
    }
    .lightbox-close:hover { color: var(--accent); }
    .lightbox-content {
      display: flex;
      align-items: center;
      gap: 60px;
      max-width: 1100px;
      max-height: 90vh;
      padding: 40px;
      transform: scale(0.9);
      transition: transform 0.4s ease;
    }
    .lightbox.active .lightbox-content { transform: scale(1); }
    .lightbox-img {
      max-width: 65%;
      max-height: 80vh;
      object-fit: contain;
      flex-shrink: 0;
    }
    .lightbox-info { flex: 1; color: #fff; }
    .lightbox-info h3 {
      font-family: var(--font-heading);
      font-size: 1.8rem;
      margin-bottom: 12px;
    }
    .lightbox-info .cat-label {
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: block;
    }
    .lightbox-info p {
      font-size: 0.95rem;
      color: rgba(255,255,255,0.7);
      font-weight: 300;
      line-height: 1.7;
    }
    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: rgba(255,255,255,0.6);
      cursor: pointer;
      padding: 12px;
      background: none; border: none;
      transition: color 0.3s ease;
    }
    .lightbox-nav:hover { color: #fff; }
    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }

    /* ===== MOBILE NAV ===== */
    .mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
    }
    .mobile-menu.active { opacity: 1; visibility: visible; }
    .mobile-menu a {
      font-family: var(--font-heading);
      font-size: 2rem;
      color: var(--text);
      transition: color 0.3s ease;
    }
    .mobile-menu a:hover { color: var(--accent); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .gallery-grid { grid-template-columns: repeat(3, 1fr); }
      .featured-item { grid-template-columns: 1fr; gap: 32px; }
      .featured-item:nth-child(even) .featured-img { order: 0; }
      .featured-item:nth-child(even) .featured-info { order: 0; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .portfolio-topbar { flex-direction: column; align-items: flex-start; }
      .lightbox-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
      }
      .lightbox-img { max-width: 100%; max-height: 50vh; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .about-stats { gap: 24px; }
      .section-padding { padding: 60px 0; }

    }


    /* Fade-in animations for scroll */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 480px) {
      .services-grid { grid-template-columns: 1fr; }
      .filter-tabs { gap: 2px; }
      .filter-tab { padding: 6px 12px; font-size: 0.7rem; }
      .featured-img {height: 275px}
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .gallery-grid { columns: 3; }
}

/* 🔥 FIX FOR iPHONE + SMALL SCREENS */
@media (max-width: 600px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-item {
    margin-bottom: 0; /* remove column spacing conflict */
  }
}