@import url('https://fonts.cdnfonts.com/css/maison-neue');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

@font-face {
    font-family: 'HelveticaCustom';
    src: url('../fonts/Helvetica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SabonNextLT';
    src: url('../fonts/SabonNextLT.ttf') format('truetype'),
         url('../fonts/SabonNextLT.woff2') format('woff2'),
         url('../fonts/SabonNextLT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SabonNextLTItalic';
    src: url('../fonts/SabonNextLTItalic.ttf') format('truetype'),
         url('../fonts/SabonNextLTItalic.woff2') format('woff2'),
         url('../fonts/SabonNextLTItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Maison Neue', sans-serif;
    font-size: 15px;
}

.subtitle {
    font-family: 'SabonNextLT', serif; 
    font-size: 45px;
    color: #afabab;
}

.italic {
    font-family: 'SabonNextLTItalic', serif;
    font-style: italic;
    font-size: 45px;
    color: #afabab;
}

.backgroundimage {
    position: relative; 
    width: 100vw; 
    height: 100vh; 
    background-image: url('uploads/ANA SAYFA 4.jpg'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;

}

.backgroundimage img {
    pointer-events: none;
}

.centered-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 500px; 
    height: auto;
    opacity: 0.5;
}

body {
    background-color: #f5f5f5;
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

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

.content {
    padding: 50px;
    text-align: center;
}

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

.title {
    font-size: 60px; 
    font-weight: 200; 
    line-height: 1.2;
    margin-bottom: 10px; 
    text-transform: capitalize; 
    color: #333; 
    font-family: 'Poppins', sans-serif !important; 
}

.description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.image-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.image-box {
    position: relative;
    width: 800px;
    height: 700px;
    overflow: hidden;
    border-radius: 0;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.image-box.hover-effect img {
    transform: scale(1.15); }

.image-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -30%);
    text-align: center;
    color: rgb(5, 5, 5);
    padding: 20px;
    width: 90%;
}

.image-overlay h2, .image-overlay p {
    font-family: 'Cairo', sans-serif;
    color:rgba(18, 17, 17, 0.6);
}

.image-overlay h2 {
    font-size: 28px; 
    color:rgba(18, 17, 17, 0.6);
    font-weight: 600;
    margin-bottom: 10px;
}

.image-overlay p {
    font-size: 18px;
    color:rgba(18, 17, 17, 0.6);
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    background: transparent;
    color: rgb(1, 1, 1);
    padding: 14px 28px;
    font-size: 22px;
    position: relative;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Maison Neue', sans-serif;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: calc(100% - 20px);
    height: 1px;
    background: rgb(1, 1, 1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    opacity: 1;
    transform: translateX(-50%);
}

.btn:hover::after {
    opacity: 0;
    transform: scaleX(0);
}

footer {
    background: white;
    color: black;
    padding: 20px 0;
    font-size: 16px;
    border-top: 2px solid #ddd;
}

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

.footer-left p {
    margin: 0;
}

.footer-center {
    display: flex;
    gap: 20px;
}

.footer-center a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.footer-center a:hover {
    color: #555;
}

.footer-right {
    display: flex;
    gap: 15px;
}

.footer-right a {
    font-size: 24px;
    color: black;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-right a:hover {
    color: #555;
    transform: scale(1.2);
}

.interior-architecture-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.interior-architecture {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 80px auto;
    padding: 20px;
    max-width: 1200px;
    gap: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.interior-architecture.visible {
    opacity: 1;
    transform: translateY(0);
}

.interior-architecture img {
    width: 50%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.interior-architecture .text-content {
    max-width: 600px;
}

.interior-architecture .text-content h2 {
    font-family: 'SabonNextLTItalic', serif;
    font-style: italic;
    font-size: 45px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #605c5d;

}

.interior-architecture .text-content p {
    font-family: 'SabonNextLT', serif;
    font-size: 30px;
    line-height: 1.15;
    color: #605c5d;
}

.services-title {
    text-align: center;
    font-size: 60px;
    font-family: 'SabonNextLTItalic', serif;
    font-style: italic;
    color: #afabab;
    margin-top: 20px;
}

.our-story-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.our-story-content {
    display: flex;
    align-items: flex-start;
    gap: 70px;
}

.our-story-image {
    flex-shrink: 0;
    margin-left: 70px;
}

.our-story-image img {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.story-text {
    flex: 1;
}

.story-text h1 {
    font-family: 'SabonNextLT', serif;
    font-size: 43px;
    color: #afabab;
    margin-bottom: 15px;
}

.story-text h1 span {
    font-family: 'SabonNextLTItalic', serif;
    font-size: 43px;
    font-style: italic;
    color: #afabab;
}

.story-paragraph {
    font-family: 'SabonNextLT', serif;
    font-size: 36px;
    color: #afabab;
    line-height: 1.6;
    margin-bottom: 40px;
}

.our-interiors {
    font-size: 37px;
    color: #605c5d;
    font-family: 'SabonNextLT', serif;
}

.our-interiors span {
    font-family: 'SabonNextLTItalic', serif;
    font-size: 38px;
    font-style: italic;
    color: #605c5d;
}

.our-approach {
    margin-top: 40px;
    padding-left: 70px;
}

.our-approach h2 {
    font-family: 'SabonNextLT', serif;
    font-size: 50px;
    color: #afabab;
}

.our-approach h2 span {
    font-family: 'SabonNextLTItalic', serif;
    font-style: italic;
    font-size: 44px;
    color: #afabab;
}

.approach-paragraph {
    font-family: 'SabonNextLT', serif;
    font-size: 36px;
    color: #afabab;
    line-height: 1.6;
}

.contact-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.contact-logo img {
    width: 400px; 
    height: auto;
    margin-bottom: 5px;
    opacity: 0.6;
}

.contact-name {
    font-size: 26px;
    font-family: 'Calibri', sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-details {
    font-family: 'HelveticaCustom', sans-serif;
}

.contact-details p {
    font-size: 22px;
    margin: 8px 0;
}

.change-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    transition: all 0.3s ease;
}

.change-icon:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    transform: translateY(-50%) scale(1.1);
}

.change-icon i {
    transition: transform 0.3s ease;
}

.change-icon:hover i {
    transform: translateX(5px);
}

#referanslar {
    padding: 60px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.reference-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 0 20px;
}

.reference-item {
    width: 100%;
    text-align: center;
}

.reference-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border: none;
    box-shadow: none; 
}

.reference-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

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

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

.logob {
    width: 450px; /* Logo genişliği */
    height: auto;
    opacity: 0.5;
}

.logob-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .logob-container {
        width: 80%;
        max-width: 200px;
        margin: 0 auto;
        opacity: 0.5;
    }

    .logob-container img {
        width: 100%;
        height: auto;
    }

    .subtitle,
    .italic {
        font-size: 30px;
    }

    .title {
        font-size: 32px;
    }

    .description {
        font-size: 16px;
    }

    .content {
        padding: 20px;
    }

    .image-section {
        flex-direction: column;
        align-items: center;
    }

    .image-box {
        width: 100%;
        height: auto;
    }

    .image-overlay h2 {
        font-size: 22px;
    }

    .image-overlay p {
        font-size: 16px;
    }

    .btn {
        font-size: 18px;
        padding: 10px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .interior-architecture {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 40px 10px;
    }

    .interior-architecture img {
        width: 100%;
        max-width: 100%;
    }

    .interior-architecture .text-content h2 {
        font-size: 32px;
    }

    .interior-architecture .text-content p {
        font-size: 20px;
    }

    .our-story-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .our-story-image {
        margin-left: 0;
    }

    .our-story-image img {
        width: 100%;
        height: auto;
    }

    .story-text h1 {
        font-size: 28px;
    }

    .story-text h1 span,
    .story-paragraph,
    .our-interiors,
    .our-interiors span,
    .approach-paragraph {
        font-size: 20px;
    }

    .our-approach {
        padding-left: 20px;
    }

    .our-approach h2,
    .our-approach h2 span {
        font-size: 30px;
    }

    .contact-logo img {
        width: 250px;
    }

    .contact-name {
        font-size: 20px;
    }

    .contact-details p {
        font-size: 16px;
    }

    .change-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .reference-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .services-title {
        font-size: 36px;
    }
}