/* ============================================
   AZIZANO - Luxury Jewelry Design
   ============================================ */

:root {
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #A8893A;
    --gold-glow: rgba(201, 168, 76, 0.15);
    --black: #0A0A0A;
    --black-light: #141414;
    --black-card: #1A1A1A;
    --white: #FAFAFA;
    --white-soft: #E8E8E8;
    --gray: #888888;
    --gray-dark: #333333;
    --gray-light: #CCCCCC;
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Playfair Display', serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-ar);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--gold);
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white-soft);
    transition: color 0.3s;
    position: relative;
}

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

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

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

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

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1510 50%, #0A0A0A 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 24px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s 0.2s forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
}

.hero-line {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    letter-spacing: 16px;
    color: var(--gold);
    line-height: 1.1;
}

.hero-divider {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 24px auto;
}

.hero-subtitle-en {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--gold-light);
    margin-top: 8px;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--white-soft);
    margin-top: 32px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s var(--transition);
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--black);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

/* ============================================
   SECTION COMMON
   ============================================ */

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-ar);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 120px 0;
    background: var(--black);
}

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

.about-text p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 24px 0;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

.about-visual {
    position: relative;
}

.about-image-frame {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--black-card), var(--black-light));
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.about-image-placeholder {
    text-align: center;
    color: var(--gold);
    opacity: 0.4;
}

.about-image-placeholder span {
    display: block;
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 6px;
    margin-top: 16px;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--black);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.float-icon {
    font-size: 1.4rem;
}

/* ============================================
   DESIGNER SECTION (Form)
   ============================================ */

.designer {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--black) 0%, #0d0d0d 100%);
    text-align: center;
}

/* Progress */
.progress-container {
    max-width: 700px;
    margin: 0 auto 60px;
}

.progress-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    width: 16.66%;
    transition: width 0.5s var(--transition);
    border-radius: 2px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    transition: opacity 0.4s;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.4s;
}

.progress-step.active .step-circle {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.progress-step span {
    font-size: 0.75rem;
    color: var(--gray);
}

.progress-step.active span {
    color: var(--gold);
}

/* Form */
.designer-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: right;
}

.form-step {
    display: none;
    animation: fadeUp 0.5s forwards;
}

.form-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.step-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-header p {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 300;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-grid.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white-soft);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 5px solid var(--gold);
    pointer-events: none;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-ar);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    direction: rtl;
}

select {
    appearance: none;
    cursor: pointer;
    padding-left: 40px;
}

select option {
    background: var(--black-card);
    color: var(--white);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-dark);
}

select:focus,
input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--gray);
}

.budget-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    text-align: right;
}

.budget-note svg {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.budget-note span {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Order Summary */
.order-summary {
    background: var(--black-card);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 32px;
    text-align: right;
}

.summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.summary-label {
    color: var(--gray);
}

.summary-value {
    color: var(--white-soft);
    font-weight: 500;
}

/* Form Navigation */
.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-ar);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.btn-next {
    background: var(--gold);
    color: var(--black);
}

.btn-next:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-prev {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white-soft);
}

.btn-prev:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-submit {
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
}

.btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeUp 0.6s forwards;
}

.success-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.success-note {
    font-size: 0.9rem !important;
    color: var(--gold) !important;
    margin-top: 16px !important;
    margin-bottom: 32px !important;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 120px 0;
    background: var(--black);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--black-card), var(--black-light));
    border: 1px solid rgba(201, 168, 76, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gold);
    opacity: 0.5;
    transition: all 0.4s var(--transition);
}

.gallery-placeholder span {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.gallery-item:hover .gallery-placeholder {
    opacity: 0.8;
    border-color: rgba(201, 168, 76, 0.3);
    background: linear-gradient(135deg, var(--black-card), rgba(201, 168, 76, 0.05));
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

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

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 0.95rem;
    color: var(--white-soft);
}

.contact-item a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-soft);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.cta-card {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 48px 40px;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 60px 0 40px;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 24px;
}

.footer-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 24px;
    opacity: 0.4;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-dark);
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
}

.spinner-ring {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(201, 168, 76, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

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

.loading-spinner span {
    font-size: 0.95rem;
    color: var(--gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-frame {
        aspect-ratio: 16/9;
    }

    .about-float-card {
        bottom: -16px;
        right: 16px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .progress-steps {
        gap: 4px;
    }

    .progress-step span {
        font-size: 0.65rem;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .about-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-line {
        letter-spacing: 8px;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .form-nav {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
