:root {
    --primary-color: #283d56;
    --secondary-color: #1a2838;
    --accent-color: #e19b1e;
    --accent-hover: #c48518;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; position: relative; padding-bottom: 15px; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 4px; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    text-align: center;
}
.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}
.btn-outline {
    background-color: transparent;
    color: var(--white); /* For hero overlay usually */
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Mobilde menü header'ın altında kalsın, logo/sosyal/hamburger üstte */
.header-inner > .logo,
.header-inner > .header-social,
.header-inner > .header-cta,
.header-inner > .menu-toggle {
    position: relative;
    z-index: 101;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    border: none;
    background: transparent;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 2px 0;
    transition: transform 0.3s ease, opacity 0.2s ease;
    display: block;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}
nav ul li a {
    font-weight: 500;
    color: var(--white);
    position: relative;
}
nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.header-cta {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
}
.header-cta:hover {
    background-color: var(--white);
    color: var(--accent-color);
    border-color: var(--white);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}
.header-social-link:hover {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(40, 61, 86, 0.8), rgba(40, 61, 86, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header (Breadcrumb style for subpages) */
.page-header {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.breadcrumb {
    color: var(--text-light);
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--primary-color);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    display: inline-block;
}
.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--accent-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.card .btn-text {
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Why Us */
.why-us {
    padding: 80px 0;
}
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-img img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
}

.why-us-text h2 {
    margin-bottom: 30px;
}

.features-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 500;
}
.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Showcase */
.showcase {
    padding: 80px 0;
    background-color: var(--white);
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover {
    transform: scale(1.02);
}
.product-img {
    height: 250px;
    background-color: #ddd;
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img img {
    transform: scale(1.1);
}
.product-info {
    padding: 20px;
}
.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.collection-card .product-info h3 {
    margin-bottom: 12px;
}
.collection-list {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}
.collection-list li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.collection-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Content Pages */
.content-section {
    padding: 80px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}
.sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.sidebar ul li {
    margin-bottom: 10px;
}
.sidebar ul li a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
}
.sidebar ul li a:hover, .sidebar ul li a.active {
    color: var(--accent-color);
    padding-left: 5px;
}

.detail-img {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}
.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
}
.contact-info-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}
.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.whatsapp-contact-box { text-align: center; }
.whatsapp-contact-box .whatsapp-btn {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.whatsapp-contact-box .whatsapp-btn:hover {
    background: #20bd5a !important;
    border-color: #20bd5a !important;
    color: #fff !important;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #dbe4ee;
    padding: 60px 0 20px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: block;
    height: 42px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}
.footer-bottom .web-tasarim-credit {
    margin-top: 12px;
    opacity: 0.85;
    font-size: 0.85rem;
}
.footer-bottom .web-tasarim-credit a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-bottom .smr-medya-logo {
    height: 26px;
    width: auto;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; margin-bottom: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 100;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease;
        pointer-events: none;
    }
    nav.active {
        max-height: 85vh;
        opacity: 1;
        overflow-y: auto;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    nav ul li { width: 100%; }
    nav ul li a {
        display: flex;
        align-items: center;
        padding: 14px 0;
        color: var(--primary-color);
        min-height: 48px;
        line-height: 1.4;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.05);
        touch-action: manipulation;
    }
    nav ul li a:hover,
    nav ul li a:active {
        color: var(--accent-color);
    }
    nav ul li a::after { display: none; }
    nav .btn,
    nav .btn-sm {
        cursor: pointer;
        touch-action: manipulation;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
    }
    .header-cta { display: none; }

    .hero { padding: 100px 0 80px; }
    .hero h1 { font-size: 2rem; }
    
    .why-us-content { grid-template-columns: 1fr; }
    .why-us-img { margin-bottom: 30px; }
}

/* WhatsApp floating button - sağ alt köşe (mobil + masaüstü) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: #fff;
}
.whatsapp-float svg {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
