/* ==========================================================================
   Design Ok Studio | Premium Interior Design Style
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-color: #FAFAFA; /* Alabaster White */
    --text-color: #1A1A1A; /* Charcoal Black */
    --accent-color: #B9935A; /* Matte Gold / Brass */
    --accent-hover: #9E7D4C;
    --secondary-color: #4A5D4E; /* Sage Green */
    --border-color: rgba(26, 26, 26, 0.1);
    --light-gray: #F0F0F0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 1300px;
    --section-padding: 120px 0;
    
    /* Transitions */
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #967442;
}

/* Custom Text Selection */
::selection {
    background-color: var(--accent-color);
    color: #fff;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInPage 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: none; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

p {
    font-size: 1.05rem;
    color: #555;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
.subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.subtitle-owl {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-color: currentColor;
    -webkit-mask-image: url('../assets/logo/owl-icon-beyaz.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../assets/logo/owl-icon-beyaz.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    position: relative;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-outline-light {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-slow);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header.scrolled {
    background-color: rgba(250, 250, 250, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.logo-img {
    height: 70px; /* doubled size */
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

header.scrolled .logo-img {
    filter: invert(1);
}

.owl-mascot {
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    margin-right: 12px;
    transition: var(--transition-slow);
    display: inline-block;
    -webkit-mask-image: url('../assets/logo/owl-icon-beyaz.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('../assets/logo/owl-icon-beyaz.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: white;
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

header.scrolled .hamburger {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s infinite alternate linear;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding-top: 80px;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.hero-scroll-down::after {
    content: '';
    width: 1px;
    height: 40px;
    background-color: white;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid var(--accent-color);
    z-index: 1;
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.service-card {
    background: white;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition-slow);
    border-bottom: 3px solid transparent;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.service-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Portfolio Section */
.portfolio-section {
    padding: var(--section-padding);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.portfolio-overlay p {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: var(--transition-slow);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Testimonial Section */
.testimonial-section {
    padding: var(--section-padding);
    background-color: var(--text-color);
    color: white;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 40px;
}

.testimonial-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo-img {
    height: 100px; /* doubled size */
    width: auto;
    margin-bottom: 20px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: none; /* Text is now replaced by image */
}

.footer-brand p {
    color: #888;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-socials a:hover {
    color: var(--bg-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(185, 147, 90, 0.3);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    transition: var(--transition-slow);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-slow);
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Afilli Telefon Numarası */
.footer-links a[href^="tel:"] {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 15px rgba(185, 147, 90, 0.3);
}

.footer-links a[href^="tel:"]:hover {
    color: white;
    transform: scale(1.05) translateX(0);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.footer-links a[href^="tel:"]::after {
    display: none; /* Telefondaki alt çizgiyi iptal et */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
    font-size: 0.85rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Contact Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
}

.wa-btn { background-color: #25D366; }
.wa-btn:hover { background-color: #128C7E; transform: scale(1.1); color: white; }

.phone-btn { background-color: var(--text-color); }
.phone-btn:hover { background-color: var(--accent-color); transform: scale(1.1); color: white; }

.float-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transition: var(--transition-fast);
}

.wa-btn::after { border: 2px solid rgba(37, 211, 102, 0.5); animation: pulseWa 2s infinite; }
.phone-btn::after { border: 2px solid rgba(26, 26, 26, 0.3); animation: pulsePhone 2.5s infinite; }

@keyframes pulseWa {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes pulsePhone {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--accent-color);
    z-index: 999999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(185, 147, 90, 0.5);
}



/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-image { order: -1; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--text-color);
        flex-direction: column;
        padding: 100px 40px;
        transition: var(--transition-slow);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .floating-actions { bottom: 20px; right: 20px; }
    .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }
    .container { padding: 0 20px; }
    .service-card { padding: 30px 20px; }
    .about-content h2 { font-size: 2rem; }
    .footer-brand h2 { font-size: 1.5rem; }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.phone {
    background-color: var(--accent-color);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Fancybox Gallery Overrides - Smaller Centered Images */
.f-carousel__slide {
    padding: 10vh 10vw !important;
}
.f-image {
    max-width: 80vw !important;
    max-height: 80vh !important;
    margin: auto !important;
    border-radius: 8px; /* Optional: adds a premium subtle roundness to the image */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Optional: nice shadow for depth */
}

/* Make navigation arrows a bit more prominent and visible outside the image */
.f-button.is-prev, .f-button.is-next {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
}
.f-button.is-prev:hover, .f-button.is-next:hover {
    background: var(--accent-color) !important;
}
