/* CSS Variables */
:root {
    --primary-color: #1976d2;
    --secondary-color: #2196f3;
    --accent-color: #64b5f6;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Page Header Styles */
.page-header {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.7), rgba(33, 150, 243, 0.7)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page-specific header styles */
.page-header.umre-turlari {
    background: linear-gradient(135deg, rgba(18, 105, 192, 0.8), rgba(33, 150, 243, 0.4)), url('../images/page-header/header2.jpg');  
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header.iletisim {
    background: linear-gradient(135deg, rgba(18, 105, 192, 0.8), rgba(33, 150, 243, 0.4)), url('../images/page-header/header3.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header.hakkimizda {
    background: linear-gradient(135deg, rgba(18, 105, 192, 0.8), rgba(33, 150, 243, 0.4)), url('../images/page-header/header1.jpg');   
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header.bilgehane {
    background: linear-gradient(135deg, rgba(18, 105, 192, 0.8), rgba(33, 150, 243, 0.4)), url('../images/page-header/header4.jpg');  
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header.rezervasyon {
    background: linear-gradient(135deg, rgba(18, 105, 192, 0.8), rgba(33, 150, 243, 0.4)), url('../images/page-header/header5.jpg');   
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #1976d2;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h2 {
    color: #1976d2;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.logo span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1976d2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1976d2;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #1976d2;
    padding-left: 2rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Dropdown arrow indicator */
.dropdown > .nav-link::before {
    content: '▾';
    margin-left: 0.3rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > .nav-link::before {
    transform: rotate(180deg);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background: #1976d2;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: #1976d2;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.btn-reservation::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

/* Disabled Rezervasyon button */
.header-buttons .btn-primary {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6;
}

.header-buttons .btn-primary:hover {
    background: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Disable all reservation buttons across the website */
.btn-primary[href*="rezervasyon.html"],
.btn-primary[href*="umre-turlari.html"] {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6;
}

.btn-primary[href*="rezervasyon.html"]:hover,
.btn-primary[href*="umre-turlari.html"]:hover {
    background: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-card .btn {
    margin-top: auto;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.feature-card .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.feature-card .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.feature-card .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Tour Highlights Section */
.tour-highlights {
    padding: 5rem 0;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tour-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1976d2;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tour-card .konya-cikisli {
    position: absolute;
    top: 0px;
    left: 0px;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    color: white;
    padding: 6px 35px;
    font-size: 0.8rem;
    font-weight: 500;
    transform: rotate(-45deg) translateX(-45px) translateY(-8px);
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tour-content {
    padding: 1.5rem;
}

.tour-content h3 {
    color: #1976d2;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.tour-content p {
    color: #666;
    margin-bottom: 1rem;
}

.tour-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tour-features span {
    background: #f0f2f5;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.tour-features i {
    margin-right: 5px;
    color: #1976d2;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    gap: 1rem;
}

.tour-price .btn-primary {
    margin-top: 20px;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.price-separator {
    color: #666;
    font-weight: 400;
}

.price-note {
    font-size: 0.75rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #1976d2;
    font-weight: 500;
}

.room-prices {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.8rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-width: 250px;
    max-width: 350px;
    width: 100%;
}

.room-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
    padding: 0.2rem 0;
}

.room-type {
    font-weight: 500;
}

.room-price {
    font-weight: 600;
    color: #1976d2;
}

.duration {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.text-center {
    text-align: center;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1976d2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1976d2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2196f3;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header,
    .page-header.umre-turlari,
    .page-header.iletisim,
    .page-header.hakkimizda,
    .page-header.bilgehane,
    .page-header.rezervasyon {
        padding: 5rem 0 2.5rem;
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-list.active {
        left: 0;
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0.5rem 0;
        border-radius: 5px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }

    .dropdown-menu a {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
    }

    .dropdown > .nav-link::before {
        content: '▾';
        margin-left: 0.3rem;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active > .nav-link::before {
        transform: rotate(180deg);
    }

    .header-buttons {
        gap: 0.5rem;
    }

    .logo-image {
        height: 40px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo span {
        font-size: 0.8rem;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Price display responsive */
    .tour-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        align-items: stretch;
    }

    .price-info {
        width: 100%;
    }

    .room-prices {
        margin-top: 0.5rem;
    }

    .room-price-item {
        font-size: 0.85rem;
    }

    .price-range {
        font-size: 1.1rem;
    }

    .price-note {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .page-header,
    .page-header.umre-turlari,
    .page-header.iletisim,
    .page-header.hakkimizda,
    .page-header.bilgehane,
    .page-header.rezervasyon {
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Scroll to Top Button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
