@font-face {
    font-family: 'Telegraf';
    src: url('../Fonts/TelegrafRegular_272984568a25d8528fe2de8b20b29011.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Telegraf';
    src: url('../Fonts/Telegraf UltraBold 800.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Telegraf';
    src: url('../Fonts/Telegraf UltraLight 200.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    font-family: 'Telegraf';
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../BackgroundImage/Background.jpg') center center/cover no-repeat;
    z-index: -1;
    background-image: url('../BackgroundImage/Background.jpg');
    background-size: cover;
    background-position: center;
}

.main-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 36px 60px 0 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.castle-icon {
    width: 75px;
    height: 100px;
    display: block;
}

.header-center {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    margin-top: 0;
    justify-content: flex-start;
    height: 54px;
    /* Yükseklik ve hizalama için */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.main-logo {
    width: 350px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
    margin-top: 0;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 3000;
    min-width: 40px;
    max-width: 100%;
    overflow-x: hidden;
    pointer-events: auto;
}

.menu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    background: none;
    border: none;
    pointer-events: auto !important;
    cursor: pointer;
    z-index: 9999;
}

.menu-icon span {
    display: block;
    width: 38px;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
    transition: all 0.2s;
    pointer-events: none;
}

/* Yeni İletişim Tasarımı */
.contact-container {
    max-width: 1200px;
    margin: 120px auto 0 auto;
    padding: 0 40px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    background: floralwhite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.3rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, rgba(93, 26, 26, 0.3) 0%, rgba(139, 26, 26, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
    background: #f67b1d;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.contact-card p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Instagram kartı için özel stil */
.instagram-card {
    cursor: pointer;
}

/* Adres kartı için özel stil */
.address-card {
    cursor: pointer;
}

/* E-posta kartı için özel stil */
.email-card {
    cursor: pointer;
}

/* Çalışma Saatleri */
.working-hours {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.working-hours h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #5d1a1a 0%, #8b1a1a 50%, #a52a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hours-grid {
    display: grid;
    gap: 20px;
}

.day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(93, 26, 26, 0.2) 0%, rgba(139, 26, 26, 0.2) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.day:hover {
    background: linear-gradient(135deg, rgba(93, 26, 26, 0.3) 0%, rgba(139, 26, 26, 0.3) 100%);
    transform: translateX(10px);
}

.day-name {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.day-time {
    font-size: 1.1rem;
    color: #ffe8ec;
    font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
        margin-top: 100px;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-header p {
        font-size: 1.1rem;
    }

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

    .contact-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .working-hours {
        padding: 30px 20px;
    }

    .working-hours h2 {
        font-size: 2rem;
    }

    .day {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 700px) {

    body::before,
    body::after {
        width: 25px;
    }

    .main-header {
        padding: 24px 16px 0 16px;
    }

    .main-logo {
        width: 170px;
        height: 120px;
        margin-top: 30px;
    }

    .castle-icon {
        width: 48px;
        height: 54px;
    }
}

/* TABLET DİKEY */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) {
    html {
        overflow-x: hidden;
    }

    .contact-container {
        padding: 0 30px;
        margin-top: 100px;
    }

    .contact-header h1 {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact-card {
        padding: 35px 25px;
    }

    .working-hours {
        padding: 35px 25px;
    }
}

/* TABLET YATAY */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: landscape) {
    html {
        overflow-x: hidden;
    }

    .contact-container {
        padding: 0 40px;
        margin-top: 80px;
    }

    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}