 /* --- TEMEL AYARLAR (RESET & VARIABLES) --- */
 :root {
     --bg-color: #ffffff;
     --text-main: #111111;
     --text-light: #777777;
     --accent: #000000;
     --gap: 20px;
     --font-main: 'Inter', -apple-system, BlinkMacSystemFont,
         'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
 }


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

 body {
     font-family: var(--font-main);
     background-color: var(--bg-color);
     color: var(--text-main);
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 ul {
     list-style: none;
 }

 /* --- LAYOUT & HEADER --- */
 .container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 40px 20px;
 }

 header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 100px;
     flex-wrap: wrap;
     gap: 20px;
 }

 .logo {
     font-size: 24px;
     font-weight: 700;
     letter-spacing: -0.5px;
     /* margin-left: auto; */
 }

 .logo img {
     height: 60px;
     /* SVG’nin viewBox yüksekliği 34.02 */
     width: auto;
     display: block;
 }


 .services-list {
     display: flex;
     gap: 15px;
     font-size: 14px;
     color: var(--text-light);
     flex-wrap: wrap;
 }

 .intro {
     font-size: 1em;
     font-weight: 300;
     margin-bottom: 50px;
     margin-top: -50px;
     line-height: 1.4;
 }


 .motto {
     font-weight: 400;
     font-size: 1.5em;
 }


 /* --- PORTFOLIO GRID --- */
 .portfolio-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 60px 40px;
 }

 .project-card {
     cursor: pointer;
     transition: opacity 0.3s ease;
 }

 .project-card:hover {
     opacity: 0.7;
 }

 .card-image-wrapper {
     width: 100%;
     aspect-ratio: 4/3;
     background-color: #f0f0f0;
     overflow: hidden;
     margin-bottom: 20px;
 }

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

 .project-card:hover .card-image {
     transform: scale(1.03);
 }

 .card-info {
     display: flex;
     justify-content: space-between;
     align-items: baseline;
     border-top: 1px solid #eee;
     padding-top: 15px;
 }

 .card-title {
     font-size: 18px;
     font-weight: 500;
 }

 .card-meta {
     font-size: 14px;
     color: var(--text-light);
     text-align: right;
 }

 .card-desc {
     font-size: 14px;
     color: var(--text-light);
     margin-top: 5px;
     display: block;
 }

 /* --- MODAL (GALLERY) --- */
 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(255, 255, 255, 0.98);
     overflow-y: auto;
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .modal.active {
     display: block;
     opacity: 1;
 }

 .modal-content {
     max-width: 1000px;
     margin: 60px auto;
     padding: 20px;
     position: relative;
 }

 .close-btn {
     position: fixed;
     top: 30px;
     right: 40px;
     font-size: 40px;
     cursor: pointer;
     z-index: 1001;
     line-height: 1;
     transition: transform 0.2s;
 }

 .close-btn:hover {
     transform: rotate(90deg);
 }

 .modal-header {
     margin-bottom: 50px;
     padding-bottom: 20px;
     border-bottom: 1px solid #eee;
 }

 .modal-title {
     font-size: 40px;
     margin-bottom: 10px;
     font-weight: 700;
 }

 .modal-details {
     display: flex;
     gap: 30px;
     font-size: 14px;
     color: var(--text-light);
 }

 .gallery-container {
     display: flex;
     flex-direction: column;
     gap: 40px;
 }

 .gallery-img {
     width: 100%;
     height: auto;
     display: block;
     background-color: #f4f4f4;
 }

 /* --- FOOTER --- */
 footer {
     margin-top: 150px;
     padding-top: 40px;
     border-top: 1px solid #eee;
     font-size: .8em;
     color: var(--text-light);
     display: flex;
     justify-content: space-between;
     gap: 10px;
     /* mobilde nefes aldırır */
 }


 /* --- RESPONSIVE --- */
 @media (max-width: 768px) {
     .portfolio-grid {
         grid-template-columns: 1fr;
     }

     .modal-title {
         font-size: 1.5em;
     }

     .close-btn {
         top: 20px;
         right: 20px;
     }

     header {
         flex-direction: column;
     }
 }