:root {
    --primary-color: #1a2530;
    /* Dark Navy */
    --secondary-color: #d4af37;
    /* Gold */
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --white: #ffffff;

    --font-heading: 'Amiri', serif;
    /* Arabic Serif */
    --font-body: 'Tajawal', sans-serif;
    /* Arabic Sans-serif */

    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    direction: rtl;
    text-align: right;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Special hover for primary button on light bg needs adjustment */
section:not(#hero) .btn-primary:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}


.btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-desktop ul {
    display: flex;
    gap: 30px;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    transition: var(--transition);
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 9px;
}

.bar:nth-child(3) {
    bottom: 0;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.nav-mobile ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-mobile.active {
    display: block;
}


/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Override margin if header is not overlay */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 37, 48, 0.7), rgba(26, 37, 48, 0.5));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Collections Section */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.collection-card {
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info address {
    font-style: normal;
    margin-top: 2rem;
}

.contact-info address p {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.footer-links ul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.reveal-image {
    clip-path: inset(0 0 0 100%);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-image.visible {
    clip-path: inset(0 0 0 0);
}


/* Media Queries */
@media (max-width: 900px) {
    h1 {
        font-size: 3rem;
    }

    .hero-background {
        transform: none;
        animation: none;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}