/* ==================================
   DESIGN SYSTEM & VARIABLES
   ================================== */
:root {
    /* Colors */
    --color-primary: #1A1A1A;     /* Dark Charcoal */
    --color-bg: #FAFAFA;          /* Off-white background */
    --color-text: #4A4A4A;        /* Readable grey */
    --color-text-light: #777777;  /* Secondary text */
    --color-accent: #E5A93D;      /* Premium Construction Gold */
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    
    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Shadows */
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==================================
   RESET & BASICS
   ================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.glass-border {
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-lg);
}

/* ==================================
   UTILITIES
   ================================== */
.highlight { color: var(--color-accent); }
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.bg-light { background-color: #F0F2F5; }
.bg-dark { background-color: var(--color-primary); }
.w-100 { width: 100%; }

.section { padding: var(--section-padding); }
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}
.section-container.column {
    flex-direction: column;
    align-items: stretch;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #d1972b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 169, 61, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ==================================
   NAVBAR
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 5%;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: var(--color-primary);
}

.logo-text {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-white);
    transition: color var(--transition-smooth);
    display: flex;
    align-items: center;

    /* gap: 10px; */
}

.logo-icon {
    height: 70px;
    width: auto;
    flex-shrink: 0;
    transition: filter var(--transition-smooth);
    display: block;
}


.navbar.scrolled .logo-icon {
    /* filter: invert(1); */
}

.logo-text span {
    color: var(--color-accent);
     line-height: 1;
        margin-left:-10px; 
    
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* ==================================
   HERO SECTION
   ================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888081622-498110a17eb9?auto=format&fit=crop&q=80') center/cover;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate;
}

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

.hero-content {
    max-width: 800px;
    z-index: 1;
    color: var(--color-white);
    animation: fadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-white);
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ==================================
   ABOUT SECTION
   ================================== */
.about-content {
    flex: 1;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.about-features li {
    font-family: var(--font-heading);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features .highlight {
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    position: relative;
}

/* ==================================
   SERVICES SECTION
   ================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--color-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* ==================================
   PROJECTS SECTION
   ================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-info h3 {
    color: var(--color-white);
    margin-bottom: 5px;
}

.project-info p {
    color: var(--color-accent);
    font-weight: 500;
}

/* ==================================
   CONTACT SECTION
   ================================== */
.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item p {
    color: rgba(255,255,255,0.8);
}

.contact-form {
    flex: 1;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-md);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(229, 169, 61, 0.2);
}

/* ==================================
   FOOTER
   ================================== */
.footer {
    background: #111;
    padding: 20px 5%;
    text-align: center;
    color: #888;
}

/* ==================================
   ANIMATIONS
   ================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomOut {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

/* ==================================
   MEDIA QUERIES
   ================================== */
@media (max-width: 900px) {
    .section-container {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .section-title { font-size: 2.2rem; }
}
