/* ============================================
   Best Photos Studio — Custom Styles
   ============================================ */

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: #e84f28;
    color: #fff;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 79, 40, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 134, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(232, 79, 40, 0.06);
    border-radius: 24px;
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(180, 134, 62, 0.08);
    top: 20%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(232, 79, 40, 0.15) 2px, transparent 2px);
    background-size: 16px 16px;
    bottom: 15%;
    right: 15%;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(250, 248, 245, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e84f28;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e84f28;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 60%;
}

/* ============================================
   Hero Animations
   ============================================ */
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    opacity: 0;
    animation-delay: 0.2s;
}

h1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

h1 ~ p {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

h1 ~ p ~ div {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

h1 ~ p ~ div ~ div {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

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

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e84f28, #d4a55a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   Portfolio Items
   ============================================ */
.portfolio-item {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(57, 53, 48, 0.1);
    transition: background 0.3s ease;
}

.portfolio-item:hover::after {
    background: rgba(57, 53, 48, 0.05);
}

/* ============================================
   Process Steps
   ============================================ */
.process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-rect-1,
    .shape-triangle-1,
    .shape-dots {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar,
    .geometric-shape,
    .scroll-indicator {
        display: none;
    }
}
