/* ============================================
   VELOCITY TIMEPIECES — STYLES
   Premium Watch Rental Website
   ============================================ */

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

:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #161616;
    --color-surface: #1a1a1a;
    --color-border: #2a2a2a;
    --color-text: #f0ece4;
    --color-text-muted: #9a9590;
    --color-accent: #c9a96e;
    --color-accent-light: #dfc08a;
    --color-accent-dark: #a88a50;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1200px;
    --section-padding: 120px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-text);
}

.logo-accent {
    color: var(--color-accent);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
    padding: 10px 24px !important;
    border-radius: 2px;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
}

.nav-cta:hover {
    background: var(--color-accent-light) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero-watch.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-accent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Section Styles --- */
.section {
    padding: var(--section-padding) 0;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    z-index: -1;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Collection Section --- */
.collection {
    background: var(--color-bg-alt);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.collection-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.card-tag {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
}

.card-content {
    padding: 28px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-price {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- How It Works Section --- */
.how-it-works {
    background: var(--color-bg);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    padding: 40px 32px;
    flex: 1;
    max-width: 320px;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-border);
    margin-bottom: 16px;
    line-height: 1;
}

.step-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-white);
}

.step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 1px;
    background: var(--color-border);
    margin-top: 80px;
    flex-shrink: 0;
}

/* --- Trust Section --- */
.trust {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-item {
    text-align: center;
    padding: 32px 20px;
}

.trust-icon {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.trust-item h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.trust-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    background: url('images/collection-display.jpg') center center / cover no-repeat;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.88);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* --- Contact Section --- */
.contact {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group select {
    appearance: none;
    -webkit-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='%239a9590' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Footer --- */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 360px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        gap: 40px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-alt);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--color-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-cta {
        margin-top: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 300px;
    }

    .about-image::after {
        display: none;
    }

    .about-stats {
        gap: 24px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 1px;
        height: 40px;
        margin: 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}
