/* ============================================
   Özlem Ferforje - Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

::selection {
    background-color: rgba(249, 130, 7, 0.3);
    color: #fff;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: #434343;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f98207;
}

/* ---- Navigation Links ---- */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a4a4a4;
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.nav-active {
    color: #ffa520;
}

.nav-link.nav-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #f98207, #ffa520);
    border-radius: 10px;
}

/* Mobile nav */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #a4a4a4;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.mobile-nav-active {
    color: #ffa520;
    background-color: rgba(249, 130, 7, 0.08);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(249, 130, 7, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 130, 7, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(249, 130, 7, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* ---- Spark Animation ---- */
@keyframes spark {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0); opacity: 0; }
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffa520;
    border-radius: 50%;
    animation: spark 1.5s ease-out infinite;
    box-shadow: 0 0 6px #ffa520, 0 0 12px rgba(249, 130, 7, 0.5);
}

/* ---- Gradient Text ---- */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #ffa520 50%, #f98207 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: linear-gradient(135deg, #ffd688 0%, #ffa520 50%, #dd5f02 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Service Card ---- */
.service-card {
    position: relative;
    background: linear-gradient(145deg, rgba(56, 56, 56, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f98207, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    border-color: rgba(249, 130, 7, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(249, 130, 7, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(249, 130, 7, 0.15) 0%, rgba(249, 130, 7, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f98207, #dd5f02);
    box-shadow: 0 8px 30px rgba(249, 130, 7, 0.3);
}

.service-card:hover .service-icon i {
    color: #fff !important;
    transform: scale(1.1);
}

/* ---- Gallery Placeholder ---- */
.gallery-placeholder {
    position: relative;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px dashed rgba(249, 130, 7, 0.2);
    border-radius: 1rem;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.gallery-placeholder:hover {
    border-color: rgba(249, 130, 7, 0.4);
    background: linear-gradient(145deg, #333 0%, #222 100%);
    transform: scale(1.02);
}

.gallery-placeholder .placeholder-icon {
    font-size: 2.5rem;
    color: rgba(249, 130, 7, 0.3);
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
}

.gallery-placeholder:hover .placeholder-icon {
    color: rgba(249, 130, 7, 0.5);
    transform: scale(1.1);
}

.gallery-placeholder .placeholder-text {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- Stat Counter ---- */
.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(56, 56, 56, 0.3) 0%, rgba(26, 26, 26, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(249, 130, 7, 0.15);
    transform: translateY(-4px);
}

/* ---- Feature Badge ---- */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(249, 130, 7, 0.1);
    border: 1px solid rgba(249, 130, 7, 0.2);
    border-radius: 2rem;
    font-size: 0.8rem;
    color: #ffa520;
    font-weight: 500;
}

/* ---- Section Title ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f98207;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #f98207, transparent);
}

/* ---- Page Header ---- */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(249, 130, 7, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(249, 130, 7, 0.04) 0%, transparent 40%);
}

/* ---- CTA Section ---- */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 1px solid rgba(249, 130, 7, 0.1);
    border-bottom: 1px solid rgba(249, 130, 7, 0.1);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(249, 130, 7, 0.08) 0%, transparent 70%);
}

/* ---- Contact Form ---- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(56, 56, 56, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: #e3e3e3;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #f98207;
    background: rgba(56, 56, 56, 0.5);
    box-shadow: 0 0 0 3px rgba(249, 130, 7, 0.1);
}

.form-input::placeholder {
    color: #666;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.breadcrumb a {
    color: #818181;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ffa520;
}

.breadcrumb .separator {
    color: #515151;
}

/* ---- Pulse animation for floating buttons ---- */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

#whatsappFloat::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.4);
    animation: pulse-ring 2s ease-out infinite;
}

/* ---- Hamburger Animation ---- */
.menu-open .hamburger-line-1 {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .hamburger-line-2 {
    opacity: 0;
}
.menu-open .hamburger-line-3 {
    width: 1.5rem;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ---- Nav scroll state ---- */
.nav-scrolled {
    background-color: rgba(13, 13, 13, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ---- Shimmer loading ---- */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-bg {
    background: linear-gradient(90deg, transparent 0%, rgba(249, 130, 7, 0.05) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* ---- Float animation ---- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* ---- Custom Utilities ---- */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.text-balance {
    text-wrap: balance;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}
