/* =========================================
THEME 6 — REAL ESTATE CINEMATIC MODE
ACP AGENTS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

body{
    font-family:'Inter',sans-serif;
    background:#0a0a0a;
    color:#fff;
    overflow-x:hidden;
}



/* =========================================
HEADER
========================================= */

.header{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(12px);
    padding:15px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

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

.logo{
    font-family:'Playfair Display',serif;
    font-size:22px;
    letter-spacing:1px;
}

.header nav a{
    color:#fff;
    margin:0 12px;
    text-decoration:none;
    font-size:14px;
    opacity:0.8;
    transition:0.3s;
}

.header nav a:hover{
    opacity:1;
}

.call-btn{
    padding:10px 20px;
    background:#c9a46a;
    color:#000;
    text-decoration:none;
    font-weight:600;
    border-radius:4px;
}



/* =========================================
HERO CINEMATIC
========================================= */

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

.hero-slider{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}

.hero-slide{
    position:absolute;
    width:100%;
    height:100%;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(40%);
}



/* DARK OVERLAY */

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.075));
    z-index:1;
}



/* HERO CONTENT */

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
}

.hero-content h1{
    font-family:'Playfair Display',serif;
    font-size:64px;
    font-weight:700;
    margin-bottom:15px;
}

.hero-content p{
    font-size:18px;
    opacity:0.8;
    margin-bottom:30px;
}



/* BUTTON */

.explore-btn{
    padding:14px 30px;
    background:#c9a46a;
    color:#000;
    text-decoration:none;
    font-weight:600;
    border-radius:4px;
    transition:0.3s;
}

.explore-btn:hover{
    background:#e2c18b;
}



/* =========================================
SECTIONS
========================================= */

.section{
    padding:100px 0;
}

.section.dark{
    background:#0f0f0f;
}

.title{
    font-family:'Playfair Display',serif;
    font-size:40px;
    text-align:center;
    margin-bottom:60px;
}



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

.about-media img{
    width:100%;
    border-radius:10px;
    filter:grayscale(30%);
}

.about h2{
    font-family:'Playfair Display',serif;
    font-size:36px;
}

.about p{
    opacity:0.8;
    line-height:1.8;
}

.highlight{
    margin-top:20px;
    padding:15px;
    border-left:3px solid #c9a46a;
    background:rgba(255,255,255,0.05);
}



/* =========================================
SERVICES
========================================= */

.service-box{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    padding:40px;
    border-radius:10px;
    text-align:center;
    transition:0.4s;
    margin-bottom:30px;
}

.service-box:hover{
    transform:translateY(-10px);
    border-color:#c9a46a;
}

.service-box i{
    font-size:40px;
    color:#c9a46a;
    margin-bottom:20px;
}



/* =========================================
PROPERTY GRID (CINEMATIC LISTINGS)
========================================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.property-card{
    position:relative;
    overflow:hidden;
    border-radius:10px;
}

.property-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:0.5s;
}

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

.property-overlay{
    position:absolute;
    bottom:0;
    width:100%;
    padding:20px;
    background:linear-gradient(to top,rgba(0,0,0,0.8),transparent);
}



/* =========================================
CONTACT
========================================= */

.contact-box{
    max-width:600px;
    margin:auto;
    background:rgba(255,255,255,0.03);
    padding:40px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.08);
}

.contact-box input,
.contact-box textarea{
    width:100%;
    margin-bottom:15px;
    padding:14px;
    background:transparent;
    border:1px solid rgba(255,255,255,0.1);
    color:#fff;
}

.contact-box button{
    width:100%;
    padding:14px;
    background:#c9a46a;
    border:none;
    font-weight:600;
    color:#000;
}
/* Achievements Section Styling */
#achievements {
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    padding: 100px 0;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: #c9a46a; /* Gold Accent */
    margin-top: -30px;
    margin-bottom: 50px;
}

.modern-achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.achievement-img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.achievement-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s ease;
}

.achievement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 164, 106, 0.2); /* Gold tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.achievement-overlay i {
    font-size: 2.5rem;
    color: #c9a46a;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.achievement-body {
    padding: 20px 10px 10px;
    text-align: center;
}

.achievement-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Hover Effects */
.modern-achievement-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 164, 106, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 164, 106, 0.1);
}

.modern-achievement-card:hover .achievement-img {
    opacity: 1;
    transform: scale(1.1);
}

.modern-achievement-card:hover .achievement-overlay {
    opacity: 1;
}

.modern-achievement-card:hover .achievement-overlay i {
    transform: translateY(0);
}

/* Bottom Glow Effect */
.achievement-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a46a, transparent);
    transform: scaleX(0);
    transition: 0.5s ease;
}

.modern-achievement-card:hover .achievement-glow {
    transform: scaleX(1);
}

/* =========================================
   CINEMATIC PORTFOLIO GRID
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-img-container {
    position: relative;
    height: 400px; /* Fixed height for consistency */
    overflow: hidden;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, filter 0.8s ease;
    filter: brightness(0.9);
}

/* Hover Zoom & Darken */
.portfolio-card:hover .portfolio-img-container img {
    transform: scale(1.15);
    filter: brightness(0.6) grayscale(20%);
}

/* Hover Overlay Icon */
.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 164, 106, 0.1); /* Subtle gold tint */
    opacity: 0;
    transition: 0.5s ease;
}

.view-btn {
    width: 60px;
    height: 60px;
    background: #c9a46a;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: scale(0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover .portfolio-hover-overlay { opacity: 1; }
.portfolio-card:hover .view-btn { transform: scale(1); }

/* Glassmorphism Info Box */
.portfolio-info-glass {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transform: translateY(10px);
    transition: 0.5s ease;
}

.portfolio-card:hover .portfolio-info-glass {
    transform: translateY(0);
    background: rgba(201, 164, 106, 0.9); /* Shifts to gold on hover */
}

.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a46a;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.portfolio-title {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}

.portfolio-line {
    width: 30px;
    height: 2px;
    background: #c9a46a;
    margin-top: 10px;
    transition: width 0.5s ease;
}

/* Info Text color change on hover */
.portfolio-card:hover .category-tag { color: #000; }
.portfolio-card:hover .portfolio-title { color: #000; }
.portfolio-card:hover .portfolio-line { background: #000; width: 100%; }

/* Subtitle for the section */
.subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    margin-top: -50px;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-img-container {
        height: 300px;
    }
}

/* =========================================
   CINEMATIC FAQ ACCORDION
   ========================================= */
.cinematic-faq-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 25px !important;
    font-weight: 500 !important;
    transition: all 0.4s ease !important;
    box-shadow: none !important;
}

.cinematic-faq-btn:not(.collapsed) {
    background: rgba(201, 164, 106, 0.1) !important; /* Subtle Gold Tint */
    border-color: #c9a46a !important;
    color: #c9a46a !important;
}

.cinematic-faq-btn::after {
    filter: brightness(0) invert(1); /* Makes arrow white */
}

.faq-number {
    color: #c9a46a;
    font-weight: 700;
    margin-right: 15px;
    font-family: 'Playfair Display', serif;
}

.cinematic-faq-body {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 20px 25px 30px 65px !important;
    line-height: 1.8;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

/* Accordion Item Wrapper */
.accordion-item {
    background: transparent !important;
    border: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}
/* =========================================
FOOTER
========================================= */

.footer{
    padding:30px 0;
    text-align:center;
    background:#000;
    border-top:1px solid rgba(255,255,255,0.08);
}