/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  main,
  .page-sections {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  /* Scroll reveal: varsayılan görünür; .js ile gizlenir (JS kapalıyken içerik kaybolmaz) */
  .js [data-reveal] {
    opacity: 0;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js [data-reveal='left'] {
    transform: translate3d(-40px, 0, 0);
  }

  .js [data-reveal='right'] {
    transform: translate3d(40px, 0, 0);
  }

  .js [data-reveal].reveal--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  @media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  
  body {
    background: #f9f9f9;
    color: #1a1c1c;
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  body.page-loading {
    overflow: hidden;
  }
  
  img {
    width: 100%;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button {
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .container {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    padding-inline: 32px;
  }
  
  /* NAVBAR */
  
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition:
      background 0.35s ease,
      border-color 0.35s ease,
      backdrop-filter 0.35s ease,
      color 0.35s ease;
  }

  .navbar.navbar--solid {
    background: rgba(249, 249, 249, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #d0c4bb;
    color: #1a1c1c;
  }

  .navbar:not(.navbar--solid) .logo {
    color: #fff;
  }

  .navbar:not(.navbar--solid) .nav-links--desktop a {
    color: rgba(255, 255, 255, 0.92);
  }

  .navbar:not(.navbar--solid) .nav-links--desktop a:hover,
  .navbar:not(.navbar--solid) .nav-links--desktop a.active {
    color: #e8ddd4;
  }

  .navbar:not(.navbar--solid) .mobile-menu-btn {
    color: #fff;
  }
  
  .navbar-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-family: 'EB Garamond', serif;
    letter-spacing: .2em;
    font-size: 24px;
  }
  
  .nav-links {
    display: flex;
    gap: 32px;
  }
  
  .nav-links a {
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: .3s;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: #6b5c4c;
  }
  
  .mobile-menu-btn {
    display: none;
  }

  .mobile-nav-backdrop,
  .mobile-nav-sheet {
    display: none;
  }

  /* HERO */
  
  .hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .hero-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 100%);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    color: white;
  }
  
  .hero-subtitle {
    margin-bottom: 20px;
    letter-spacing: .2em;
    text-transform: uppercase;
  }
  
  .hero h1 {
    font-family: 'EB Garamond', serif;
    font-size: 80px;
    font-weight: 400;
    margin-bottom: 30px;
  }
  
  .hero-text {
    max-width: 700px;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-style: italic;
  }
  
  .hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .btn-outline {
    padding: 18px 32px;
    border: 1px solid white;
    transition: .3s;
  }
  
  .btn-outline:hover {
    background: white;
    color: black;
  }
  
  .btn-link {
    text-decoration: underline;
  }
  
  /* GALLERY */
  
  .gallery-section {
    padding: 120px 0;
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-family: 'EB Garamond', serif;
    font-size: 54px;
    margin-bottom: 20px;
  }
  
  .section-header p {
    max-width: 700px;
    line-height: 1.8;
    color: #666;
  }
  
  .view-all-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: inherit;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .gallery-item {
    overflow: hidden;
  }
  
  .gallery-item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: .6s;
  }
  
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .gallery-item.large img {
    aspect-ratio: 4/5;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
  }
  
  /* PHILOSOPHY */
  
  .philosophy {
    padding: 120px 0;
    background: #f3f3f3;
  }
  
  .philosophy-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
  }
  
  .philosophy-image,
  .philosophy-content {
    flex: 1;
  }
  
  .philosophy-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
  }
  
  .section-tag {
    display: inline-block;
    margin-bottom: 20px;
    color: #6b5c4c;
    letter-spacing: .2em;
    text-transform: uppercase;
  }
  
  .philosophy-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  
  .philosophy-content p {
    line-height: 1.9;
    color: #666;
    margin-bottom: 40px;
  }
  
  .btn-primary {
    display: inline-block;
    background: #6b5c4c;
    color: white;
    padding: 18px 34px;
  }
  
  /* BREAKOUT */
  
  .breakout-image {
    height: 800px;
  }
  
  .breakout-image img {
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
  }
  
  /* CTA */
  
  .cta-section {
    background: #1a1c1c;
    color: white;
    padding: 120px 0;
  }
  
  .cta-content {
    text-align: center;
    max-width: 900px;
    margin: auto;
  }
  
  .cta-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 60px;
    margin-bottom: 30px;
  }
  
  .cta-content p {
    line-height: 1.9;
    opacity: .8;
    margin-bottom: 40px;
  }
  
  .btn-light {
    display: inline-block;
    background: white;
    color: black;
    padding: 20px 40px;
  }
  
  .contact-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  
  .contact-grid span {
    display: block;
    margin-bottom: 10px;
    opacity: .5;
    font-size: 14px;
  }
  
  /* FOOTER */
  
  .footer {
    padding: 60px 0;
  }
  
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  
  .footer h4 {
    font-family: 'EB Garamond', serif;
    margin-bottom: 10px;
  }
  
  .footer p {
    color: #666;
  }
  
  .footer-links {
    display: flex;
    gap: 24px;
  }
  
  /* FLOAT */
  
  .floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
  }
  
  .fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .fab.dark {
    background: #1a1c1c;
    color: white;
  }
  
  .fab.whatsapp {
    background: #25D366;
    color: white;
    font-weight: bold;
  }
  
  /* COOKIE */
  
  .cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, .95);
    color: white;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 999;
  }
  
  .cookie-buttons {
    display: flex;
    gap: 12px;
  }
  
  .btn-cookie-outline {
    border: 1px solid rgba(255, 255, 255, .2);
    color: white;
    padding: 12px 18px;
  }
  
  .btn-cookie {
    background: white;
    color: black;
    padding: 12px 18px;
  }
  
  /* RESPONSIVE */
  
  @media(max-width: 992px) {
  
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .philosophy-wrapper {
      flex-direction: column;
    }
  
    .hero h1 {
      font-size: 52px;
    }
  
  }
  
  @media(max-width: 768px) {
  
    .mobile-menu-btn {
      display: block;
    }

    .logo {
      font-size: 20px;
      letter-spacing: 0.15em;
    }

    .nav-links--desktop {
      display: none;
    }

    .mobile-nav-backdrop {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(26, 28, 28, 0.48);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        opacity 0.32s ease,
        visibility 0.32s ease;
    }

    body.mobile-nav-open .mobile-nav-backdrop {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .mobile-nav-sheet {
      display: flex;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1001;
      width: 85%;
      max-width: 320px;
      height: 100vh;
      height: 100dvh;
      flex-direction: column;
      background:
        linear-gradient(165deg,
          #fdfcfa 0%,
          #f5f0ea 45%,
          #ebe4dc 100%);
      box-shadow:
        8px 0 48px rgba(26, 28, 28, 0.14),
        1px 0 0 rgba(107, 92, 76, 0.12);
      transform: translateX(-100%);
      transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    }

    body.mobile-nav-open .mobile-nav-sheet {
      transform: translateX(0);
    }

    .mobile-nav-sheet__inner {
      position: relative;
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 28px 22px 36px 26px;
      min-height: 0;
    }

    .mobile-nav-close {
      position: absolute;
      top: 22px;
      right: 16px;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #5c534c;
      background: rgba(107, 92, 76, 0.08);
      transition: background 0.2s, color 0.2s;
    }

    .mobile-nav-close:hover {
      background: rgba(107, 92, 76, 0.16);
      color: #1a1c1c;
    }

    .mobile-nav-close .material-symbols-outlined {
      font-size: 22px;
    }

    .mobile-nav-sheet__logo {
      font-family: 'EB Garamond', serif;
      letter-spacing: 0.15em;
      font-size: 15px;
      line-height: 1.35;
      color: #1a1c1c;
      padding-right: 48px;
      margin-top: 4px;
    }

    .mobile-nav-sheet__social {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 22px;
      margin-top: auto;
      padding-top: 24px;
      border-top: 1px solid rgba(107, 92, 76, 0.18);
    }

    .mobile-nav-sheet__social a {
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #6b5c4c;
      transition: color 0.2s;
    }

    .mobile-nav-sheet__social a:hover {
      color: #1a1c1c;
    }

    .mobile-nav-sheet__menu {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 26px;
      padding: 28px 0 8px;
      min-height: 0;
    }

    .mobile-nav-sheet__menu a {
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #1a1c1c;
      transition: color 0.25s;
    }

    .mobile-nav-sheet__menu a:hover,
    .mobile-nav-sheet__menu a.active {
      color: #6b5c4c;
    }
  
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
    .gallery-item.large {
      grid-column: unset;
      grid-row: unset;
    }
  
    .section-header {
      flex-direction: column;
    }
  
    .contact-grid {
      flex-direction: column;
      gap: 32px;
    }
  
    .footer-wrapper {
      flex-direction: column;
    }
  
    .cookie-banner {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hero-buttons {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .hero h1 {
      font-size: 42px;
    }
  
  }

  /* ——— Galeri / Portfolyo sayfası (Tailwind → vanilla) ——— */

  .material-symbols-outlined--fill {
    font-variation-settings:
      'FILL' 1,
      'wght' 400,
      'GRAD' 0,
      'opsz' 48;
  }

  .page-galeri {
    background: #f9f9f9;
  }

  .page-galeri ::selection {
    background: #f4dfcb;
    color: #241a0e;
  }

  .portfolio-main {
    padding-top: 100px;
  }

  .portfolio-intro {
    padding: 96px 0 80px;
    text-align: center;
  }

  .portfolio-intro__title {
    font-family: 'EB Garamond', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1c1c;
    margin-bottom: 24px;
  }

  .portfolio-intro__lead {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #4d453e;
    max-width: 42rem;
    margin: 0 auto;
  }

  .portfolio-grid-wrap {
    padding-bottom: 128px;
  }

  .portfolio-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .portfolio-tile {
    position: relative;
    overflow: hidden;
  }

  .portfolio-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease-in-out;
  }

  .portfolio-tile:hover img {
    transform: scale(1.05);
  }

  .portfolio-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 28, 28, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    pointer-events: none;
  }

  .portfolio-tile:hover .portfolio-tile__overlay {
    opacity: 1;
  }

  .portfolio-tile__tag {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f9f9f9;
    margin-bottom: 8px;
  }

  .portfolio-tile__heading {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: #f9f9f9;
  }

  .portfolio-tile--ratio-4-5 {
    aspect-ratio: 4 / 5;
  }

  .portfolio-tile--ratio-3-4 {
    aspect-ratio: 3 / 4;
  }

  .portfolio-tile--ratio-square {
    aspect-ratio: 1 / 1;
  }

  .portfolio-tile--ratio-16-9 {
    aspect-ratio: 16 / 9;
  }

  .portfolio-cta {
    background: #f3f3f3;
    padding: 128px 0;
  }

  .portfolio-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .portfolio-cta__title {
    font-family: 'EB Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1c1c;
  }

  .portfolio-cta__text {
    font-size: 16px;
    line-height: 1.6;
    color: #4d453e;
    max-width: 36rem;
  }

  .portfolio-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }

  .portfolio-cta__btn {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 40px;
    transition:
      background 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease;
  }

  .portfolio-cta__btn--outline {
    border: 1px solid #1a1c1c;
    color: #1a1c1c;
    background: transparent;
  }

  .portfolio-cta__btn--outline:hover {
    background: #1a1c1c;
    color: #f9f9f9;
  }

  .portfolio-cta__btn--ghost {
    border: none;
    border-bottom: 1px solid #6b5c4c;
    color: #1a1c1c;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 12px;
  }

  .portfolio-cta__btn--ghost:hover {
    color: #6b5c4c;
  }

  .portfolio-footer {
    border-top: 1px solid #d0c4bb;
  }

  .portfolio-footer__wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .portfolio-footer__logo {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1c1c;
  }

  .portfolio-footer__copy {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #4d453e;
    width: 100%;
    margin: 0;
  }

  .portfolio-fab.floating-buttons {
    gap: 16px;
  }

  .portfolio-fab .fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(26, 28, 28, 0.18);
    transition: transform 0.2s ease;
    color: #fff;
  }

  .portfolio-fab .fab:hover {
    transform: scale(1.1);
  }

  .fab-mail-error {
    background: #ba1a1a;
  }

  .fab-whatsapp {
    background: #25d366;
  }

  .fab-instagram {
    background: linear-gradient(
      to top right,
      #facc15,
      #ef4444,
      #9333ea
    );
  }

  @media (min-width: 768px) {
    .portfolio-asymmetric-grid {
      grid-template-columns: repeat(12, 1fr);
    }

    .portfolio-tile--span-8 {
      grid-column: span 8;
    }

    .portfolio-tile--span-4 {
      grid-column: span 4;
    }

    .portfolio-cta__actions {
      flex-direction: row;
      justify-content: center;
    }

    .portfolio-footer__wrapper {
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }

    .portfolio-footer__copy {
      width: auto;
      text-align: right;
    }
  }

  @media (max-width: 767px) {
    .portfolio-intro {
      padding: 72px 0 56px;
    }

    .portfolio-intro__title {
      font-size: 40px;
    }

    .portfolio-grid-wrap {
      padding-bottom: 80px;
    }

    .portfolio-cta {
      padding: 80px 0;
    }

    .portfolio-footer__links {
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  /* Page loader */
  .page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
      145deg,
      #fdfcfa 0%,
      #f5f0ea 42%,
      #ebe4dc 100%
    );
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear;
    visibility: visible;
  }

  .page-loader.page-loader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.55s;
  }

  .page-loader__inner {
    text-align: center;
    padding: 24px;
    max-width: min(90vw, 360px);
  }

  .page-loader__brand {
    font-family: 'EB Garamond', serif;
    font-size: clamp(22px, 4.5vw, 28px);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #1a1c1c;
    margin-bottom: 28px;
    animation: pageLoaderFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .page-loader__track {
    height: 2px;
    width: 100%;
    background: rgba(107, 92, 76, 0.15);
    border-radius: 2px;
    overflow: hidden;
  }

  .page-loader__bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(
      90deg,
      #6b5c4c 0%,
      #8a7865 50%,
      #6b5c4c 100%
    );
    background-size: 200% 100%;
    transform-origin: left center;
    transform: scaleX(0);
    border-radius: 2px;
    animation:
      pageLoaderBar 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards,
      pageLoaderShimmer 1.8s ease-in-out 0.12s infinite;
  }

  .page-loader.page-loader--done .page-loader__bar {
    animation: none;
    transform: scaleX(1);
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  @keyframes pageLoaderFadeUp {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pageLoaderBar {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  @keyframes pageLoaderShimmer {
    0%,
    40% {
      background-position: 0% 50%;
    }
    60%,
    100% {
      background-position: 100% 50%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .page-loader__brand {
      animation: none;
    }

    .page-loader__bar {
      animation: pageLoaderBar 0.45s ease-out 0.05s forwards;
    }

    .page-loader {
      transition: opacity 0.25s ease;
    }

    .page-loader.page-loader--done {
      transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    }
  }