/*
  __  __ _    _ _______ _      _    _   _____ _____     _ _____ _______       _     
 |  \/  | |  | |__   __| |    | |  | | |  __ \_   _|   | |_   _|__   __|/\   | |    
 | \  / | |  | |  | |  | |    | |  | | | |  | || |     | | | |    | |  /  \  | |    
 | |\/| | |  | |  | |  | |    | |  | | | |  | || | _   | | | |    | | / /\ \ | |    
 | |  | | |__| |  | |  | |____| |__| | | |__| || || |__| |_| |_   | |/ ____ \| |____
 |_|  |_|\____/   |_|  |______|\____/  |_____/_____\____/|_____|  |_/_/    \_\____|
                                                                                    
Samet Mutlu
+05422419932
mutludijital.com.tr
*/

:root {
    --color-bg: #Fbfbfb; /* Ultra premium Apple-like off-white */
    --color-surface: #ffffff;
    --color-text: #111111; /* Stripe dark */
    --color-text-muted: #666666;
    --color-accent: #B89961; /* Porsche premium gold */
    --color-accent-hover: #9E8250;
    --color-emerald: #1F3F34; /* Luxury deep green */
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Apple / Stripe inspired smooth shadows */
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 30px -4px rgba(184, 153, 97, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* Linear/Framer inspired transitions */
    --transition-snappy: 400ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 800ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-cinematic: 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.01em;
}

/* Typography Mastery */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    line-height: 1.6;
}

/* Custom Scrollbar for a Premium Feel */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent; 
}

::-webkit-scrollbar-thumb {
    background: rgba(184, 153, 97, 0.3);
    border-radius: var(--radius-full);
}

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

/* Layout & Grid Systems (Linear/Bento Inspiration) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-lg);
}

/* Glassmorphism & Surface Design (Apple Philosophy) */
.surface-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
}

.card-premium {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-snappy);
    overflow: hidden;
    position: relative;
}

.card-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid var(--color-accent);
    opacity: 0;
    transition: opacity var(--transition-snappy);
    pointer-events: none;
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-premium:hover::after {
    opacity: 0.3;
}

/* Cinematic Scroll Animations */
.slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
    transform: scale(1.05);
    z-index: 0;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px) scale(0.98);
    transition: all var(--transition-cinematic);
}

.reveal-image {
    clip-path: inset(100% 0 0 0);
    transition: clip-path var(--transition-cinematic);
}

.is-revealed.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.is-revealed.reveal-blur {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.is-revealed.reveal-image {
    clip-path: inset(0 0 0 0);
}

/* Staggered delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Micro Interactions (Button) */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-snappy);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn-premium:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(184, 153, 97, 0.4);
}

.btn-premium:hover::before {
    transform: translateX(100%);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-text);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all var(--transition-snappy);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: rgba(184, 153, 97, 0.05);
}

/* Accordion (Framer style smooth height) */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-snappy);
}

.accordion-content > div {
    overflow: hidden;
}

.accordion-content.active {
    grid-template-rows: 1fr;
}

.accordion-icon {
    transition: transform var(--transition-snappy);
}

.accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}

/* Magnetic Image & Image Wrappers */
.magnetic-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transform: translateZ(0); /* Force GPU */
}

.magnetic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 400px; /* Fallback height */
}

.magnetic-wrap:hover .magnetic-image {
    transform: scale(1);
}

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

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Watermark/Signature for Images */
.watermark-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.watermark-text {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: lowercase;
    pointer-events: none;
    z-index: 20;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color var(--transition-snappy);
}

.watermark-container:hover .watermark-text {
    color: rgba(184, 153, 97, 0.9); /* brand-gold on hover */
}

/* -------------------------------------------------------------------------- */
/* FLOAT WIDGET & ANIMATIONS */
/* -------------------------------------------------------------------------- */

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.phone-shake {
    animation: phoneShake 2.5s infinite ease-in-out;
}

.wa-show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

