/* tterzi - Özel Dikim Atölyesi Custom Styles */
/* DejaVu Serif is a system font, no import needed */
/* Cache Timestamp: 2024-01-19 13:30:00 - LATEST VERSION */

:root {
    --deep-black: #1a1a1a;
    --charcoal-gray: #2d2d2d;
    --warm-gold: #d4a574;
    --bronze-gold: #b8956a;
    --pure-white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #666666;
    --silver-gray: #8a8a8a;
    --dark-gray: #444444;
}

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

body {
    font-family: "DejaVu Serif", serif;
    background-color: var(--pure-white);
    color: var(--charcoal-gray);
    overflow-x: hidden;
}

/* Custom Hexagonal Elements */
.hexagon {
    width: 80px;
    height: 80px;
    background: var(--warm-gold);
    position: relative;
    margin: 20px 0;
}

.hexagon::before,
.hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.hexagon::before {
    bottom: 100%;
    border-bottom: 23px solid var(--warm-gold);
}

/* Clickable Service Styles */
.clickable-service {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.clickable-service:hover .service-name {
    color: var(--warm-gold);
}

.clickable-service:active {
    transform: translateY(-2px);
}

.hexagon::after {
    top: 100%;
    border-top: 23px solid var(--warm-gold);
}

/* Map Container Styles */
.map-container {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container h3 {
    color: var(--charcoal-gray);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.map-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.map-frame iframe {
    display: block;
    width: 100%;
}

/* QR Code Section Styles */
.qr-section {
    transition: all 0.3s ease;
}

.qr-section [onclick] {
    transition: all 0.3s ease;
}

.qr-section [onclick]:hover {
    transform: scale(1.05);
}

.qr-section [onclick]:hover div {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px);
}

.qr-section [onclick]:active {
    transform: scale(0.98);
}

/* Hero Section */
.tterzi-hero {
    padding: 80px 0;
    background: var(--pure-white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tterzi-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(
            circle at 25% 25%,
            rgba(212, 165, 116, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(212, 165, 116, 0.02) 0%,
            transparent 50%
        );
}

.fabric-pattern {
    display: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.logo-showcase {
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.logo-frame {
    width: 400px;
    height: 260px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 20px;
    background: var(--pure-white);
    transition: all 0.3s ease;
}

.logo-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.logo-frame::before {
    display: none;
}

.tterzi-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1) contrast(1.1);
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
}

.logo-frame:hover .tterzi-logo {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.02);
}

.brand-title {
    font-family: "DejaVu Serif", serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--deep-black);
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.brand-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--warm-gold),
        transparent
    );
}

.craft-tagline {
    font-size: 1.2rem;
    color: var(--silver-gray);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.craft-button {
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    font-family: "DejaVu Serif", serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.craft-button-primary {
    background: var(--warm-gold);
    color: var(--deep-black);
}

.craft-button-secondary {
    background: transparent;
    color: var(--deep-black);
    border: 2px solid var(--warm-gold);
}

.craft-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 165, 116, 0.3);
}

.craft-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.craft-button:hover::before {
    left: 100%;
}

/* Services Section */
.services-atelier {
    padding: 80px 0;
    background: #f2ede5;
    position: relative;
}

.services-atelier::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.section-title {
    font-family: "DejaVu Serif", serif;
    font-size: 2.5rem;
    color: var(--deep-black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-atelier {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
    transition: all 0.4s ease;
    border: 2px solid rgba(212, 165, 116, 0.3);
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.2);
}
.service-name {
    font-family: "DejaVu Serif", serif;
    font-size: 1.8rem;
    color: var(--pure-white);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.service-atelier::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.service-atelier:hover::before {
    left: 100%;
}

.service-atelier:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 111, 71, 0.3);
    border-color: rgba(212, 165, 116, 0.6);
}

.service-icon-container {
    width: 80px;
    height: 80px;
    background: var(--warm-gold);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );
    transition: all 0.3s ease;
}

.service-atelier:hover .service-icon-container {
    transform: rotate(45deg);
    background: var(--bronze-gold);
}

.service-icon {
    font-size: 2rem;
    color: var(--medium-gray);
    transition: transform 0.3s ease;
}

.service-atelier:hover .service-icon {
    transform: rotate(-45deg);
}

.service-name {
    font-family: "DejaVu Serif", serif;
    font-size: 1.8rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.service-description {
    text-align: center;
    line-height: 1.7;
    color: var(--charcoal-gray);
    font-size: 0.95rem;
}

/* About Section */
.atelier-story {
    padding: 80px 0;
    background: var(--deep-black);
    color: var(--pure-white);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.story-content h2 {
    font-family: "DejaVu Serif", serif;
    font-size: 2.8rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--warm-gold);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

.craftsmanship-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    clip-path: polygon(
        15% 0%,
        85% 0%,
        100% 15%,
        100% 85%,
        85% 100%,
        15% 100%,
        0% 85%,
        0% 15%
    );
}

.stat-number {
    display: block;
    font-family: "DejaVu Serif", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warm-gold);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-gray);
}

.story-image {
    position: relative;
}

.atelier-photo {
    width: 100%;
    height: auto;
    clip-path: polygon(
        0 0,
        calc(100% - 30px) 0,
        100% 30px,
        100% 100%,
        30px 100%,
        0 calc(100% - 30px)
    );
    filter: sepia(20%) saturate(1.2);
}

/* Contact Section */
.contact-atelier {
    padding: 80px 0;
    background: #fafafa;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    background: var(--pure-white);
    padding: 3rem;
    clip-path: polygon(
        0 0,
        calc(100% - 25px) 0,
        100% 25px,
        100% 100%,
        25px 100%,
        0 calc(100% - 25px)
    );
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.contact-info h3 {
    font-family: "DejaVu Serif", serif;
    font-size: 2rem;
    color: var(--deep-black);
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.05);
}

.contact-detail:hover {
    background: var(--warm-gold);
    color: var(--deep-black);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--warm-gold);
    width: 30px;
}

.contact-detail:hover .contact-icon {
    color: var(--deep-black);
}

.appointment-form {
    background: var(--deep-black);
    padding: 3rem;
    clip-path: polygon(
        25px 0,
        100% 0%,
        100% calc(100% - 25px),
        calc(100% - 25px) 100%,
        0 100%,
        0% 25px
    );
    color: var(--pure-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.appointment-form h3 {
    font-family: "DejaVu Serif", serif;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--warm-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    background: var(--pure-white);
    color: var(--deep-black);
    font-size: 1rem;
    font-family: "DejaVu Serif", serif;
    border-radius: 0;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--warm-gold);
    background: var(--pure-white);
}

.form-control::placeholder {
    color: var(--silver-gray);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );
    z-index: 1000;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* Animations */
@keyframes subtleFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fabricMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
    }
    100% {
        box-shadow:
            0 0 30px rgba(212, 165, 116, 0.6),
            0 0 40px rgba(212, 165, 116, 0.3);
    }
}

@keyframes logoRing {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0;
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tterzi-hero {
        padding: 60px 0;
    }

    .brand-title {
        font-size: 2.5rem;
    }

    .craft-tagline {
        font-size: 1rem;
    }

    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .craft-button {
        width: 100%;
        max-width: 280px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .craftsmanship-stats {
        grid-template-columns: 1fr;
    }

    .logo-frame {
        width: 240px;
        height: 240px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-atelier,
    .atelier-story,
    .contact-atelier {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .tterzi-hero {
        padding: 40px 0;
    }

    .brand-title {
        font-size: 2rem;
    }

    .craft-tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .logo-frame {
        width: 200px;
        height: 200px;
    }

    .services-atelier,
    .atelier-story,
    .contact-atelier {
        padding: 40px 0;
    }
}
