/*
Theme Name: Mohammed Hebah - Affiliate Marketing
Theme URI: https://mohammedhebah.com
Author: Mohammed Hebah
Author URI: https://mohammedhebah.com
Description: A professional one-page theme for affiliate marketing portfolio. Clean, modern design with gold, black, and white color scheme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mohammed-hebah
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options, translation-ready
*/

/* ================================
   CSS Variables & Base Styles
   ================================ */
:root {
    --color-background: #fdfcfa;
    --color-foreground: #141414;
    --color-gold: #d4a528;
    --color-gold-light: #e6c45a;
    --color-gold-dark: #967318;
    --color-white: #ffffff;
    --color-muted: #737373;
    --color-border: #e5e2dc;
    --color-card: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-elegant: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 20px -4px rgba(212, 165, 40, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ================================
   Container
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-elegant);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.logo span {
    color: var(--color-gold);
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-foreground);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-background) 0%, #f5f3ef 100%);
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-foreground);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px -5px rgba(212, 165, 40, 0.4);
}

.btn-secondary {
    background: var(--color-foreground);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #2a2a2a;
}

.hero-decoration {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(212, 165, 40, 0.1), rgba(212, 165, 40, 0.05));
    border-radius: 50%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    background: var(--color-white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-elegant);
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    bottom: 30%;
    right: 25%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 6rem 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(212, 165, 40, 0.1);
    color: var(--color-gold-dark);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skill-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-card {
    background: var(--color-background);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.skill-card:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-white);
}

.skill-card h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.skill-card p {
    font-size: 0.75rem;
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ================================
   Services Section
   ================================ */
.services {
    padding: 6rem 0;
    background: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
    border-color: var(--color-gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Gallery Section
   ================================ */
.gallery {
    padding: 6rem 0;
    background: var(--color-white);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-background);
    border-radius: 1rem;
    border: 1px solid var(--color-border);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-muted);
    font-size: 0.875rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-foreground), #2a2a2a);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 3rem;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.gallery-item-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-item-overlay p {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-row,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 6rem 0;
    background: var(--color-foreground);
    color: var(--color-white);
}

.contact .section-header h2 {
    color: var(--color-white);
}

.contact .section-header p {
    color: rgba(255,255,255,0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(212, 165, 40, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-white);
}

.contact-card h4 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.contact-card p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--color-foreground);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo span {
    color: var(--color-gold);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

/* ================================
   Utilities
   ================================ */
.text-gold {
    color: var(--color-gold);
}

.bg-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
