/* Custom styles for The Tailor Shop */

/* Base styles */
:root {
    --bg-dark: #1A1512;
    --bg-card: #231E1A;
    --bg-card-hover: #2A2420;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #B08D3A;
    --terracotta: #C4623A;
    --terracotta-light: #D4845E;
    --sand: #E8D5B7;
    --sand-dark: #C4A87A;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-dark);
    color: #E8E0D5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Hero image overlay */
.hero-img-overlay {
    background: linear-gradient(135deg, rgba(26,21,18,0.85) 0%, rgba(26,21,18,0.4) 50%, transparent 100%);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.4s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196,98,58,0.4);
}

/* Secondary button */
.btn-secondary {
    border: 1.5px solid var(--gold);
    color: var(--gold);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Service cards */
.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(201,168,76,0.1);
    transition: all 0.4s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-icon {
    color: var(--gold);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--terracotta-light);
    transform: scale(1.1);
}

/* Navbar */
.navbar {
    background: rgba(26,21,18,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.nav-link {
    position: relative;
    color: #C8BFA8;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

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

/* Mobile menu */
.mobile-menu {
    background: rgba(26,21,18,0.98);
    backdrop-filter: blur(10px);
}

/* Footer pattern */
.footer-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(201,168,76,0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #1A1512 0%, #231E1A 50%, #1A1512 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196,98,58,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Gallery hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}

/* Form inputs */
.form-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    color: #E8E0D5;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--gold);
    outline: none;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-input::placeholder {
    color: #8A7E72;
}

/* Success message */
.success-message {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

/* Gold accent text */
.gold-accent {
    color: var(--gold);
}

/* Map container */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    filter: grayscale(0.7) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0.3) contrast(1.05);
}

/* Card background */
.bg-card {
    background: var(--bg-card);
}

/* Text color utilities */
.text-gold {
    color: var(--gold);
}

/* Select styling */
.form-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A84C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-input select option {
    background: var(--bg-card);
    color: #E8E0D5;
}
