/* ==========================================================================
   GuruGhar Estate - Philosophical & Technical Specifications
   ========================================================================== */

:root {
    --spec-bg: #fdfdfd;                 /* Elegant clean canvas background */
    --spec-dark: #302f35;               /* Deep slate-charcoal matching main brand theme */
    --spec-gold: #d4af37;               /* Premium luxury brand gold */
    --spec-gold-glow: rgba(212, 175, 55, 0.25);
    
    --spec-text: #4a4a4f;               /* Sophisticated charcoal body text */
    --spec-text-light: #6c6c72;         /* Muted subtext */
    
    --spec-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.spec-section {
    padding: 120px 40px;
    background-color: var(--spec-bg);
    font-family: 'Outfit', 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   Ambient Radial Overlays
   ========================================================================== */
.spec-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--spec-gold) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--spec-dark) 0%, transparent 70%);
}

.spec-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* ==========================================================================
   PART A: PHILOSOPHICAL COLUMN GRID
   ========================================================================== */
.spec-top-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.spec-visuals {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spec-portrait-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 520px;
}

/* Golden Luxury Offset Shadow Block */
.spec-portrait-gold-frame {
    position: absolute;
    top: 24px;
    left: -24px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--spec-gold);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15), var(--spec-gold-glow);
    z-index: 1;
    transition: var(--spec-transition);
}

/* Main Image */
.spec-portrait-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    z-index: 2;
    transition: var(--spec-transition);
}

/* Overlaid Glassmorphic Site Badge */
.spec-site-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: rgba(48, 47, 53, 0.96);
    border-left: 4.5px solid var(--spec-gold);
    padding: 16px 28px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
    transition: var(--spec-transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.spec-badge-top {
    color: var(--spec-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.spec-badge-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Hover Physical Translations */
.spec-portrait-wrapper:hover .spec-portrait-img {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
}

.spec-portrait-wrapper:hover .spec-portrait-gold-frame {
    transform: translate(8px, -8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.22);
}

.spec-portrait-wrapper:hover .spec-site-badge {
    transform: translateX(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

/* Philosophy Content Column */
.spec-content {
    flex: 1.2;
    max-width: 650px;
}

.spec-micro-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--spec-gold);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 22px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.spec-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--spec-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

.spec-content h2 .gold-text {
    color: var(--spec-gold);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.spec-title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--spec-gold);
    margin-bottom: 28px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.spec-intro {
    color: var(--spec-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Collaborative Pillars */
.spec-pillars {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.spec-pillars li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--spec-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: var(--spec-transition);
}

.spec-pillars li:hover .pillar-icon {
    background: var(--spec-gold);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.pillar-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--spec-dark);
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: 14.5px;
    color: var(--spec-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   PART B: PREMIUM SPECIFICATIONS TABLE
   ========================================================================== */
.spec-table-section {
    width: 100%;
}

.spec-table-header {
    text-align: center;
    margin-bottom: 50px;
}

.spec-table-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--spec-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.spec-table-header .header-line {
    width: 100px;
    height: 3px;
    background-color: var(--spec-gold);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.spec-table-header p {
    color: var(--spec-text-light);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Specifications Table Block */
.spec-table {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border: 1px solid rgba(48, 47, 53, 0.08);
}

.spec-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
    border-bottom: 1px solid rgba(48, 47, 53, 0.08);
    transition: var(--spec-transition);
}

.spec-row:last-child {
    border-bottom: none;
}

/* Row highlight */
.spec-row:not(.spec-header-row):hover {
    background-color: rgba(212, 175, 55, 0.02);
}

/* Table Header Row */
.spec-header-row {
    background-color: var(--spec-dark);
    border-bottom: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.spec-header-row .spec-col {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 22px 35px;
}

/* Columns */
.spec-col {
    padding: 28px 35px;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.7;
    color: var(--spec-text);
}

.col-category {
    font-weight: 700;
    color: var(--spec-dark);
    background-color: rgba(48, 47, 53, 0.01);
    border-right: 1px solid rgba(48, 47, 53, 0.08);
    gap: 15px;
    justify-content: flex-start;
}

.spec-row:not(.spec-header-row):hover .col-category {
    background-color: rgba(212, 175, 55, 0.04);
}

.spec-col-icon {
    font-size: 18px;
    color: var(--spec-gold);
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--spec-transition);
}

.spec-row:hover .spec-col-icon {
    background: var(--spec-gold);
    color: #ffffff;
    transform: scale(1.1);
}

.col-detail {
    color: var(--spec-text);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .spec-container {
        gap: 90px;
    }
    .spec-top-grid {
        gap: 60px;
    }
    .spec-content h2 {
        font-size: 38px;
    }
    .spec-portrait-wrapper {
        height: 480px;
    }
}

@media screen and (max-width: 992px) {
    .spec-section {
        padding: 90px 30px;
    }
    .spec-container {
        gap: 80px;
    }
    .spec-top-grid {
        flex-direction: column;
        gap: 60px;
    }
    .spec-visuals {
        width: 100%;
    }
    .spec-portrait-wrapper {
        max-width: 380px;
        height: 460px;
    }
    .spec-site-badge {
        left: -15px;
    }
    .spec-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .spec-title-underline {
        margin: 0 auto 28px auto;
    }
    .spec-pillars {
        text-align: left;
        width: 100%;
        max-width: 600px;
    }
    
    /* Table Responsive Column adjustments */
    .spec-row {
        grid-template-columns: 280px 1fr;
    }
}

@media screen and (max-width: 768px) {
    .spec-section {
        padding: 70px 20px;
    }
    .spec-content h2 {
        font-size: 32px;
    }
    .spec-intro {
        font-size: 15px;
    }
    .spec-portrait-wrapper {
        height: 400px;
    }
    .spec-site-badge {
        left: -10px;
        padding: 12px 20px;
    }
    .spec-badge-title {
        font-size: 13.5px;
    }
    .spec-table-header h3 {
        font-size: 28px;
    }
    .spec-table-header p {
        font-size: 14.5px;
    }
    
    /* Responsive Table to Cards Collapse */
    .spec-row {
        grid-template-columns: 1fr;
        border-bottom: 2px solid rgba(48, 47, 53, 0.08);
    }
    
    .spec-header-row {
        display: none; /* Hide standard headers on small viewports */
    }
    
    .col-category {
        border-right: none;
        border-bottom: 1px solid rgba(48, 47, 53, 0.08);
        padding: 20px 24px;
        background-color: rgba(48, 47, 53, 0.03);
    }
    
    .col-detail {
        padding: 20px 24px;
    }
}
