/* =========================================
   1. Core Styles & Color Variables
   Matched to Brokar Creative UK LTD Logo
   ========================================= */
:root {
    /* Color Palette derived from logo */
    --primary-accent-taupe: #A68B6A;  /* Derived from logo text 'Brokar' */
    --light-accent-tan: #CDBEA7;      /* Derived from Arabic script */
    --black-accent: #333333;          /* Derived from 'CREATIVE UK LTD' and main text */
    --white-base: #FFFFFF;
    --light-grey-bg: #F9F9F9;

    /* Typography */
    --serif-font: 'Playfair Display', serif; /* Sophisticated Header Font */
    --sans-serif-font: 'Roboto', sans-serif; /* Clean Body Font */

    /* Sizing/Spacing */
    --container-width: 1140px;
    --section-padding: 100px;
    --border-radius: 4px; /* Subtle, sophisticated rounding */
}

html {
    scroll-behavior: smooth; /* Modern smooth scrolling */
    font-size: 16px;
}

body {
    font-family: var(--sans-serif-font);
    color: var(--black-accent);
    line-height: 1.8;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* =========================================
   2. Typography & Utilitiy Classes
   ========================================= */
h1, h2, h3, h4, .serif-text {
    font-family: var(--serif-font);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    color: var(--black-accent);
}

p {
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 20px;
}

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

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

.section-padding { padding: var(--section-padding) 0; }

.light-bg { background-color: var(--light-grey-bg); }

.section-subtitle {
    display: block;
    font-family: var(--sans-serif-font);
    color: var(--primary-accent-taupe);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #777;
}

/* =========================================
   3. Buttons & Interactables
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: var(--sans-serif-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary-accent-taupe);
    color: white;
    border: 2px solid var(--primary-accent-taupe);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-accent-taupe);
}

/* =========================================
   4. Header & Navigation
   ========================================= */
header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #EEE;
    transition: padding 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

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

.nav-logo-img {
    max-height: 80px; /* Adjust based on your logo shape */
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li { margin-left: 30px; }

nav ul li a {
    text-decoration: none;
    color: var(--black-accent);
    font-weight: 400;
    font-family: var(--sans-serif-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

/* =========================================
   5. Hero Section
   ========================================= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
    padding-top: 100px; /* Offset for fixed header */
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: white;
    font-weight: 300;
    margin-bottom: 40px;
}

/* =========================================
   6. About Us & Grid Utility
   ========================================= */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.refined-border {
    border-radius: var(--border-radius);
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   7. Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4 / 3; /* Constant photo aspect ratio */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Subtle zoom effect */
}

/* =========================================
   8. Testimonials
   ========================================= */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #EEE;
    position: relative;
}

.quote-icon {
    font-size: 10rem;
    color: var(--light-accent-tan);
    position: absolute;
    top: -40px;
    left: 20px;
    line-height: 0;
    font-style: italic;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 30px;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black-accent);
}

/* =========================================
   9. Contact Section
   ========================================= */
.contact { color: white; background-color: var(--black-accent); }
.contact h2 { color: white; }

.contact-info ul { list-style: none; padding: 0; }
.contact-info li { margin-bottom: 15px; }

.contact-form-container {
    background-color: var(--white-base);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--black-accent);
}

.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--sans-serif-font);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent-taupe);
}

/* =========================================
   10. Footer
   ========================================= */
footer {
    background-color: #F0EFEA; /* Extremely subtle warm background */
    padding: 30px 0;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #EEE;
}

/* =========================================
   11. Responsiveness (Mobile)
   ========================================= */
@media (max-width: 991px) {
    :root { --section-padding: 70px; }
    .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .hero { min-height: 70vh; }
    nav ul { display: none; } /* Simplified mobile menu requires JS enhancement later */
}
@media (max-width: 767px) {
    .hero h1 { font-size: 2.2rem; }
    .contact-form-container { padding: 30px; }
}