@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700&family=Cinzel:wght@400;600;700&display=swap');

:root {
    --bg-deep-black: #0A0A0A;
    --bg-graphite: #111111;
    --bg-soft-black: #171717;
    
    --accent-gold: #D4AF37;
    --accent-silver: #C0C0C0;
    --accent-bronze: #8B7355;
    
    --surface-1: #1A1A1A;
    --surface-2: #222222;
    --surface-3: #2A2A2A;
    
    --text-white: #FFFFFF;
    --text-light-gray: #D1D5DB;
    --text-gray: #9CA3AF;
    
    --font-arabic: 'Cairo', sans-serif;
    --font-brand: 'Cinzel', serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    background-color: var(--bg-deep-black);
    color: var(--text-light-gray);
    font-family: var(--font-arabic);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 1rem;
}

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

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Enhancements */
.brand-text {
    font-family: var(--font-brand);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--surface-2);
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    position: relative;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

nav ul li a:hover {
    color: var(--accent-gold);
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-deep-black);
}

.btn-solid {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--bg-deep-black);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-solid:hover {
    background-color: var(--text-white);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/photo-1614164185128-e4ec99c436d7.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light-gray);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections General */
.section-padding {
    padding: 8rem 0;
}

.bg-alt {
    background-color: var(--bg-graphite);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: var(--surface-1);
    border: 1px solid var(--surface-3);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-collection {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Craftsmanship Layout */
.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.craft-img {
    position: relative;
}

.craft-img img {
    border-radius: 4px;
}

.craft-img::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}

.craft-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.craft-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.8rem;
}

.features-list li::before {
    content: '✦';
    position: absolute;
    right: 0;
    color: var(--accent-gold);
}

/* Magazine Cards */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: block;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10,10,10,0.9), transparent);
}

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

.article-title {
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--surface-1);
    padding: 3rem;
    border: 1px solid var(--surface-3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light-gray);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: var(--surface-2);
    border: 1px solid var(--surface-3);
    color: var(--text-white);
    font-family: var(--font-arabic);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--bg-graphite);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--surface-3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: var(--text-gray);
}

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

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem;
    background-color: var(--surface-2);
    border: 1px solid var(--surface-3);
    color: var(--text-white);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-gold);
    color: var(--bg-deep-black);
    border: none;
    cursor: pointer;
    font-family: var(--font-arabic);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--surface-3);
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Product Detail Page */
.product-detail-hero {
    padding-top: 150px;
    padding-bottom: 5rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery img {
    width: 100%;
    border: 1px solid var(--surface-3);
    margin-bottom: 1rem;
}

.spec-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.spec-list th, .spec-list td {
    padding: 1rem;
    border-bottom: 1px solid var(--surface-3);
    text-align: right;
}

.spec-list th {
    color: var(--text-gray);
    width: 30%;
}

/* Article Detail Page */
.article-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2), rgba(10,10,10,1));
    z-index: -1;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    font-size: 1.1rem;
    color: var(--text-light-gray);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    margin: 3rem 0 1.5rem;
    color: var(--accent-gold);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 150px auto 5rem;
    padding: 0 2rem;
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    text-align: center;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.legal-container p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Inner Page Header */
.inner-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-graphite);
    border-bottom: 1px solid var(--surface-3);
    margin-top: 90px;
}

.inner-header h1 {
    font-size: 3.5rem;
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 992px) {
    .craft-grid, .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--bg-deep-black);
        transition: var(--transition-smooth);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}