/* ========================================
   MIMAR HÜLYA ÖZKAN - PORTFOLIO STYLES
   ======================================== */

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

:root {
    --color-bg: #0a0a0f;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-text: #f0ece4;
    --color-text-muted: rgba(240, 236, 228, 0.5);
    --color-accent: #c9a96e;
    --color-accent-light: #e0c994;
    --color-accent-dark: #9a7b47;
    --color-gold-glow: rgba(201, 169, 110, 0.15);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Panorama Background --- */
.panorama-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.panorama-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    will-change: transform;
    transition: none;
}

.panorama-image img {
    height: 100%;
    width: auto;
    display: block;
    min-width: 300vw;
    object-fit: cover;
}

.panorama-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.2) 0%,
        rgba(10, 10, 15, 0.35) 40%,
        rgba(10, 10, 15, 0.6) 70%,
        rgba(10, 10, 15, 0.85) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* --- Scroll Wrapper --- */
.scroll-wrapper {
    position: relative;
    z-index: 2;
}

/* --- Sections --- */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
}

.section-inner {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* --- Hero Section --- */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 48px 64px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-line-top,
.hero-line-bottom {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
    margin: 0 auto;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1s var(--transition-smooth) 0.3s, transform 1s var(--transition-smooth) 0.3s;
}

.hero-content.visible .hero-line-top,
.hero-content.visible .hero-line-bottom {
    opacity: 1;
    transform: scaleX(1);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin: 28px 0;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line-1 {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--color-accent);
    letter-spacing: 0.6em;
    margin-bottom: 8px;
    font-weight: 400;
}

.title-line-2 {
    font-size: clamp(2.4rem, 7.5vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 80px var(--color-gold-glow),
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(201, 169, 110, 0.3);
}

.title-line-2 strong {
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    letter-spacing: 0.5em;
    color: var(--color-text-muted);
    margin-top: 24px;
    font-weight: 300;
    opacity: 0;
    transition: opacity 1.2s var(--transition-smooth) 0.8s;
}

.hero-content.visible .hero-subtitle {
    opacity: 1;
}

/* --- About Section --- */
.section-about {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 15, 0.7) 15%,
        rgba(10, 10, 15, 0.9) 50%,
        rgba(10, 10, 15, 0.7) 85%,
        transparent 100%
    );
}

.about-badge {
    text-align: center;
    margin-bottom: 32px;
}

.badge-icon {
    display: inline-block;
    color: var(--color-accent);
    font-size: 14px;
    animation: rotateDiamond 6s linear infinite;
}

@keyframes rotateDiamond {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.section-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
    margin: 20px auto 0;
}

.about-text-container {
    text-align: center;
    margin-bottom: 64px;
}

.about-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
    color: rgba(240, 236, 228, 0.7);
}

/* Services Grid */
.about-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.service-item {
    text-align: center;
    padding: 32px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
    cursor: default;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    background: var(--color-surface-hover);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.08);
}

.service-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--color-accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item span {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 300;
    color: var(--color-text-muted);
}

.service-item .service-desc {
    display: block;
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(240, 236, 228, 0.35);
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.service-item:hover .service-desc {
    color: rgba(240, 236, 228, 0.55);
}

/* --- Contact Section --- */
.section-contact {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 15, 0.8) 20%,
        rgba(10, 10, 15, 0.9) 50%,
        rgba(10, 10, 15, 0.8) 80%,
        transparent 100%
    );
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 48px 24px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    background: var(--color-surface-hover);
    border-color: rgba(201, 169, 110, 0.15);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px var(--color-gold-glow);
}

.contact-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-weight: 400;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-weight: 400;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: var(--color-accent);
}

/* --- Under Construction Section --- */
.section-construction {
    min-height: 80vh;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 15, 0.85) 20%,
        rgba(10, 10, 15, 0.95) 100%
    );
}

.construction-wrapper {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.construction-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.construction-lines {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.construction-lines span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--color-accent);
    opacity: 0.4;
}

.construction-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    color: var(--color-accent);
    opacity: 0.7;
    animation: pulse 3s ease-in-out infinite;
}

.construction-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.construction-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.construction-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* --- ozkhan.pro Section --- */
.section-ozkhan {
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 15, 0.8) 15%,
        rgba(10, 10, 15, 0.92) 50%,
        rgba(10, 10, 15, 0.8) 85%,
        transparent 100%
    );
}

.ozkhan-badge {
    text-align: center;
    margin-bottom: 32px;
}

.ozkhan-showcase {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.ozkhan-showcase.visible {
    opacity: 1;
    transform: translateY(0);
}

.ozkhan-logo-text {
    margin-bottom: 36px;
}

.ozkhan-brand {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-text);
    text-shadow: 0 0 60px var(--color-gold-glow);
}

.ozkhan-dot {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.ozkhan-desc {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.9;
    color: rgba(240, 236, 228, 0.6);
    margin-bottom: 20px;
    font-weight: 300;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ozkhan-desc strong {
    color: var(--color-accent);
    font-weight: 500;
}

.ozkhan-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.25);
}

.ozkhan-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(201, 169, 110, 0.4);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
}

.ozkhan-cta svg {
    transition: transform 0.3s ease;
}

.ozkhan-cta:hover svg {
    transform: translate(3px, -3px);
}

/* --- Footer --- */
.site-footer {
    padding: 48px 24px;
    text-align: center;
    background: rgba(10, 10, 15, 0.98);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.footer-brand:hover {
    color: var(--color-accent-light);
    text-shadow: 0 0 20px var(--color-gold-glow);
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: 16px auto;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* --- Scroll indicator --- */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .about-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 20px;
    }

    .about-services {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-item {
        padding: 24px 12px;
    }

    .hero-title {
        margin: 20px 0;
    }

    .hero-content {
        padding: 32px 24px;
    }

    .title-line-1 {
        letter-spacing: 0.4em;
    }

    .contact-card {
        padding: 36px 20px;
    }
}

/* --- Selection --- */
::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}
