/*
Theme Name: Explore Muğla
Theme URI: https://exploremugla.com
Author: Explore Muğla
Author URI: https://exploremugla.com
Description: Modern ve özel tasarım Explore Muğla teması. Doğa, macera ve su sporları odaklı seyahat acentası için geliştirilmiştir.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exploremugla
Tags: travel, adventure, nature, responsive, custom-menu, custom-logo, featured-images, theme-options, two-columns

Explore Muğla WordPress Theme, (C) 2024 Explore Muğla
*/

:root {
    --primary: #1a5c3a;
    --primary-light: #2d8a4e;
    --secondary: #0d3b22;
    --accent: #e8a838;
    --accent-light: #f4c542;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f7f9f8;
    --bg-dark: #0d1b12;
    --border: #e0e6e2;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em 1.5em; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: var(--accent-light); color: var(--dark); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-alt); color: var(--primary); transform: translateY(-2px); }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.site-logo img { max-height: 50px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }

.main-nav a {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--primary); background: rgba(26,92,58,0.08); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu { display: none; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,27,18,0.7) 0%, rgba(26,92,58,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.activity-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.activity-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.activity-card:hover .activity-card-image img { transform: scale(1.1); }

.activity-card-body {
    padding: 20px;
}

.activity-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.activity-card-body h3 a { color: var(--dark); }
.activity-card-body h3 a:hover { color: var(--primary); }

.activity-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img { width: 100%; height: 400px; object-fit: cover; }

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 15px; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-item img {
    max-height: 80px;
    width: auto;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-item:hover img { opacity: 1; filter: grayscale(0%); }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(26,92,58,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon svg { width: 22px; height: 22px; fill: var(--primary); }

.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 4px; color: var(--text-light); }
.contact-info-item p { font-size: 1rem; font-weight: 500; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,92,58,0.1);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* Page Header */
.page-header {
    margin-top: 70px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    text-align: center;
}

.page-header h1 { color: #fff; margin-bottom: 0; }

/* Page Content */
.page-content { padding: 60px 0; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p { font-size: 0.95rem; line-height: 1.7; }

.footer-col ul { list-style: none; margin: 0; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover { background: var(--accent); }

.social-links a svg { width: 18px; height: 18px; fill: #fff; }

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* Blog */
.post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.post-card:hover { box-shadow: var(--shadow-hover); }

.post-card-image { height: 100%; min-height: 220px; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }

.post-card-body { padding: 30px 30px 30px 0; }

.post-card-body .post-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.post-card-body h3 { margin-bottom: 10px; }
.post-card-body h3 a { color: var(--dark); }

.post-card-body p { color: var(--text-light); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-body { padding: 20px; }
    .post-card-image { min-height: 250px; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 20px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.open { transform: translateX(0); }

    .mobile-menu a {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu a:last-child { border-bottom: none; }

    .activities-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .hero { min-height: 80vh; }
    .hero-content h1 { font-size: 2rem; }
    .partners-grid { gap: 30px; }
    .partner-item img { max-height: 60px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .activities-grid { grid-template-columns: 1fr; }
}

/* WordPress Core */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.9rem; color: var(--text-light); }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.gallery-caption { font-size: 0.9rem; }
.bypostauthor { }
.sticky { }
.screen-reader-text { display: none; }
