/* ========================================
   TRIO LUXURY HOMES - CUSTOM STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    --charcoal: #1A1A1A;
    --white: #FFFFFF;
    --warm-gray: #F5F5F5;
    --bronze: #B8956A;
    --slate: #4A4A4A;
    --light-gray: #E8E8E8;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--charcoal);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

/* ========================================
   NAVIGATION
   ======================================== */

#mainNav {
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

#mainNav.navbar-shrink {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#mainNav .navbar-nav {
    gap: 2.5rem;
}

#mainNav .nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--bronze);
}

#mainNav.navbar-shrink .nav-link {
    color: var(--charcoal);
}

#mainNav.navbar-shrink .nav-link:hover,
#mainNav.navbar-shrink .nav-link.active {
    color: var(--bronze);
}

#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

#mainNav.navbar-shrink .navbar-toggler {
    border-color: var(--charcoal);
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.navbar-shrink .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 2;
    margin-bottom: 3rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary-custom {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--bronze);
    color: var(--bronze);
    padding: 14px 32px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--bronze);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   INTRODUCTION SECTION
   ======================================== */

.intro-section {
    padding: 120px 4rem;
    background: var(--white);
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects-section {
    padding: 100px 4rem;
    background: var(--warm-gray);
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.project-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.project-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.project-overlay .location {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.project-overlay .details {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.project-overlay .description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.project-overlay .btn-link {
    color: var(--bronze);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.project-overlay .btn-link:hover {
    color: var(--white);
}

/* ========================================
   APPROACH SECTION
   ======================================== */

.approach-section {
    padding: 120px 4rem;
    background: var(--white);
}

.approach-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.approach-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate);
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--bronze);
    margin-bottom: 1.5rem;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.contact-section {
    padding: 100px 4rem;
    background: var(--charcoal);
}

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

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.contact-intro .phone-number {
    font-size: 1.5rem;
    color: var(--bronze);
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.contact-intro .phone-number:hover {
    color: var(--white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus {
    border-color: var(--bronze);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 0.2rem rgba(184, 149, 106, 0.25);
    color: var(--white);
}

.contact-form textarea.form-control {
    min-height: 150px;
}

.contact-form label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 100px 4rem;
    background: var(--charcoal);
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer-section {
    padding: 3rem 4rem;
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.page-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                url('../images/portfolio/home1.jpg') center/cover;
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--white);
}

.content-section {
    padding: 100px 4rem;
}

.content-section-alt {
    padding: 100px 4rem;
    background: var(--warm-gray);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ========================================
   PORTFOLIO PAGE
   ======================================== */

.filter-buttons {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--light-gray);
    color: var(--slate);
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bronze);
    border-color: var(--bronze);
    color: var(--white);
}

.portfolio-item {
    display: block;
}

/* ========================================
   PROCESS PAGE
   ======================================== */

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 4rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: -4rem;
    width: 2px;
    background: var(--light-gray);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bronze);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-section,
    .projects-section,
    .approach-section,
    .cta-section,
    .contact-section,
    .content-section,
    .content-section-alt {
        padding: 60px 2rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .project-image {
        height: 300px;
    }
    
    #mainNav .navbar-nav {
        gap: 1rem;
        text-align: center;
    }

    .contact-intro .phone-number {
        font-size: 1.25rem;
    }

    .page-hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .filter-btn {
        margin: 0.25rem;
    }
}
