/* ============================================
   ÖZEL ATÖLYE — STYLESHEET
   Nilüfer / Bursa
   ============================================ */

:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #121214;
    --bg-card: #161618;
    --accent-gold: #d4a853;
    --accent-gold-light: #e8c87a;
    --accent-gold-dark: #b8923e;
    --accent-gold-10: rgba(212, 168, 83, 0.1);
    --accent-gold-20: rgba(212, 168, 83, 0.2);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: rgba(255, 255, 255, 0.08);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.1);
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.95), transparent);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 140px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav button {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.header-nav button:hover {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-btn:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.header-phone {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.header-phone:hover {
    background: rgba(212, 168, 83, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.hero-slide.active img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 11, 0.7) 0%,
            rgba(10, 10, 11, 0.4) 30%,
            rgba(10, 10, 11, 0.5) 70%,
            rgba(10, 10, 11, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 2rem 14rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    animation: fadeInDown 1s var(--ease-out-expo) backwards;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s backwards;
}

.hero h1 span {
    color: var(--accent-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s backwards;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 168, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.hero-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-section {
    position: relative;
    padding: 3rem 2rem 4rem;
    background: var(--bg-primary);
    z-index: 2;
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-card:hover {
    border-color: var(--accent-gold-20);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ============================================
   RANDEVU MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-out-expo);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.modal-close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Hours Bar */
.hours-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.hours-item {
    flex: 1;
    text-align: center;
}

.hours-item h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.hours-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hours-item .status {
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-top: 0.25rem;
}

.hours-item .status.closed {
    color: var(--error);
}

/* Form Styles */
.form-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.form-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--accent-gold);
    border: none;
    border-radius: 8px;
    color: var(--bg-primary);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--accent-gold-light);
}

/* Alert */
.alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    animation: slideIn 0.3s var(--ease-out-expo);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.alert-error {
    background: var(--error-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* Appointments List */
.appointments-list {
    margin-top: 1rem;
}

.appointment-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.appointment-info h4 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.appointment-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.cancel-btn {
    padding: 0.375rem 0.75rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cancel-btn:hover {
    border-color: var(--error);
    color: var(--error);
    background: var(--error-bg);
}

.empty-state {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Location Box */
.location-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
}

.location-row .icon {
    font-size: 0.875rem;
}

.location-row .content {
    flex: 1;
}

.location-row .label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 0.125rem;
}

.location-row a {
    color: var(--accent-gold);
    text-decoration: none;
}

.location-row a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .header-content {
        gap: 0.5rem;
    }

    .logo {
        font-size: 0.9rem;
        gap: 0.4rem;
        max-width: calc(100vw - 120px);
    }

    .logo-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-btn {
        padding: 0.375rem;
    }

    .header-btn-text {
        display: none;
    }

    .header-phone {
        padding: 0.375rem;
    }

    .header-phone-text {
        display: none;
    }

    .header-phone svg,
    .header-btn svg {
        width: 18px;
        height: 18px;
    }

    .header-nav {
        display: none;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .info-section {
        padding: 1.5rem 1rem 3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.8125rem;
    }

    .hero-content {
        padding: 6rem 1.5rem 10rem;
    }

    .modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hours-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
