/*
Theme Name: Milyanalaw Premium
Theme URI: https://milyanalaw.com/
Description: A premium, boutique law firm theme inspired by Milyanalaw Dubai. Optimized for high-end boutique legal services and single-page scrolling experiences.
Author: Antigravity AI
Version: 1.0.0
Text Domain: milyanalaw
*/

:root {
    /* Colors */
    --primary-gold: #C5A059;
    --primary-gold-rgb: 197, 160, 89;
    --bg-dark: #0A0A0A;
    --bg-card: #121212;
    --text-white: #FFFFFF;
    --text-muted: #A1A1A1;
    --divider-color: rgba(197, 160, 89, 0.2);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

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

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

/* --- Reusable Components --- */

.section-label {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 40px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: #000;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--divider-color);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
}

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

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

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

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=2670&ixlib=rb-4.0.3') center/cover no-repeat;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-white);
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- Section Formatting (PDF Page Feel) --- */
section {
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--divider-color);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
}

/* --- About --- */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
}

/* --- Why Choose Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-gold);
    font-size: 24px;
}

/* --- Stats --- */
.stats {
    background: linear-gradient(to right, #000, #121212);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-family: var(--font-heading);
    color: var(--primary-gold);
    display: block;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    transition: var(--transition-smooth);
}

.team-img {
    height: 350px;
    background: #222;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.team-card:hover .team-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-white);
}

.form-control {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
}

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

.contact-info-list {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item i {
    color: var(--primary-gold);
    font-size: 20px;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 40px;
    text-align: center;
    font-size: 14px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    header nav {
        display: none;
    }
}
