/* Urban Cuts - Custom Styles */

/* Custom properties for design system */
:root {
    --navy-900: #0a1628;
    --navy-800: #112240;
    --navy-700: #1a3a5c;
    --navy-600: #234b6e;
    --gold-500: #d4a843;
    --gold-400: #e6be5a;
    --gold-300: #f0d078;
    --gold-600: #b8922e;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Split hero grid */
.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .split-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-image-col {
        min-height: 50vh;
    }
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
}

/* Gold gradient text */
.gold-gradient {
    background: linear-gradient(135deg, #d4a843 0%, #f0d078 50%, #b8922e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative line */
.deco-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4a843, transparent);
}

/* Service card */
.service-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a843, #f0d078);
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #d4a843 0%, #b8922e 100%);
    color: #0a1628;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.3);
}

.btn-primary:focus {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    color: #d4a843;
    border: 2px solid #d4a843;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #d4a843;
    color: #0a1628;
}

.btn-secondary:focus {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #234b6e;
    border-radius: 4px;
    background: transparent;
    color: #1a1a2e;
    font-size: 16px;
    font-family: 'Inter', system-ui, sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #d4a843;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
}

/* Success message */
.success-message {
    display: none;
    background: linear-gradient(135deg, #d4a843 0%, #b8922e 100%);
    color: #0a1628;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.success-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0a1628;
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* CTA section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer */
.footer {
    background: #0a1628;
}

.footer a {
    color: #d4a843;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #f0d078;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #d4a843;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .mobile-menu-overlay,
    .hamburger {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .split-hero {
        min-height: auto;
    }
}
