/* ============================================
   Modern Professional Tile Master Website
   Eyüp Usta - Kahramanmaraş
   Hibrit Tasarım: Profesyonel Görünüm + Samimi Ton
   ============================================ */

:root {
    --primary: #1a2332;
    --primary-dark: #0f1823;
    --secondary: #27ae60;
    --secondary-dark: #1e8449;
    --accent: #e67e22;
    --accent-dark: #d35400;
    --light: #f8f9fa;
    --white: #ffffff;
    --dark: #2c3e50;
    --text-gray: #5a6c7d;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.20);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.main-header {
    background: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 65px;
    width: auto;
    transition: var(--transition);
}

.main-header.scrolled .header-logo {
    height: 50px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-phone {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    background-image: url('../../img/ceramic-tile-work.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(26, 35, 50, 0.70) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo-container {
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-main-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.hero-main-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.4);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(39, 174, 96, 0.5);
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

.cta-icon {
    font-size: 1.4rem;
}

/* ============================================
   TRUST CARDS
   ============================================ */

.trust-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: -60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
    filter: grayscale(0.2);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
}

.section-header {
    margin-bottom: 48px;
}

/* ============================================
   INFO SECTION (HIZMETLER)
   ============================================ */

.info-section {
    margin-bottom: 80px;
    padding-top: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.info-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
}

.info-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.info-box.accent {
    border-top-color: var(--accent);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 2rem;
}

.info-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
}

.info-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.districts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.district-badge {
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8ed 100%);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.district-badge:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    transform: translateY(-2px);
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    line-height: 1.6;
    transition: var(--transition);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    padding-left: 12px;
    color: var(--primary);
}

.services-list strong {
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 24px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.disclaimer {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* ============================================
   PROFILE SECTION (HAKKIMDA)
   ============================================ */

.profile {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.profile-content {
    position: relative;
    z-index: 2;
}

.avatar {
    font-size: 6rem;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-quote {
    max-width: 800px;
    margin: 0 auto 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-quote p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CONTACT SECTION (ILETISIM)
   ============================================ */

.contact-section {
    background: var(--light);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.contact-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-link {
    display: block;
    font-size: 1.25rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-dark);
    transform: scale(1.05);
}

.contact-note {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-cta {
    text-align: center;
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-cta-text {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 12px;
}

.footer-slogan {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .main-nav {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-phone {
        margin: 16px 0 0;
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-logo {
        height: 50px;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-main-logo {
        max-width: 220px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .trust-cards {
        grid-template-columns: 1fr;
        margin-top: -40px;
        gap: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-box {
        padding: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-quote {
        padding: 24px;
    }

    .profile-quote p {
        font-size: 1rem;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 24px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .tags {
        gap: 8px;
    }

    .tag {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .card {
        padding: 24px 20px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-cta {
        padding: 32px 20px;
    }

    .contact-cta-text {
        font-size: 1.2rem;
    }
}