/* DOMINI IP LAW - FINAL PRODUCTION STYLESHEET
Theme: Clean White & Metallic Gold
Feature: Single Full-Screen Logo with Highly Transparent Header/Footer
*/
:root {
    --primary-bg: #ffffff;
    --secondary-bg: #fcfcfc;
    --gold-accent: #b8860b;
    --text-dark: #111111;
    --text-gray: #4a4a4a;
}

/* --- 1. GLOBAL SETTINGS & SECURITY --- */
* {
    box-sizing: border-box;
}

html {
    background-color: var(--primary-bg);
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    min-height: 100vh;
    position: relative;
    /* Critical: Body must be transparent to show the watermark behind it */
    background-color: transparent; 
    /* Security: Prevent Text Selection */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Target the specific heading color */
main h2, 
.section-heading {
    color: #1B365D !important; /* Navy "Midnight" Blue */
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Use 'Playfair Display' for Headings if you want a more "Prestigious" feel */
    h1, h2, h3, .logo span {
    font-family: 'Montserrat', sans-serif; /* Change to 'Playfair Display' for a serif look */
    font-weight: 800;
    letter-spacing: -0.02em;
}
/* --- 2. THE SINGLE FULL-SCREEN WATERMARK --- */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Image Path */
    background-image: url('logo.png');
    
    /* Single Image Settings - NOT tiled */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* Fills the entire viewport */
    
    /* Visibility */
    opacity: 0.45; /* Visible but subtle */
    z-index: -1; /* Behind everything */
    
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

/* --- 3. SECTION TRANSPARENCY --- */
main, .section, .grid {
    background-color: transparent !important;
}

/* --- 4. HIGHLY TRANSPARENT HEADER --- */
header {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    
    /* This 'locks' the size so it can't be smaller than this */
    min-height: 320px; 
    padding: 60px 0;
    
    width: 100%;             
    background-color: var(--secondary-bg);
    border-bottom: 2px solid var(--gold-accent);
    
    /* Ensures padding doesn't shrink the content */
    box-sizing: border-box; 
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 40px;
}

.logo img {
    height: 130px !important;
    width: auto;
    margin-right: 25px;
    opacity: 1 !important;
    display: block !important;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.logo span span {
    color: var(--gold-accent) !important;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

/*nav a {*/
    /*text-decoration: none;*/
    /*color: var(--text-dark);*/
    /*font-size: 0.85rem;*/
    /*font-weight: 600;*/
    /*text-transform: uppercase;*/
    /*letter-spacing: 2px;*/
    /*transition: all 0.3s ease;*/
/*}*/

nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 10px;       /* Creates a consistent "hit box" */
}

nav a:hover, nav a.active {
    color: var(--gold-accent);
}

/* --- 5. LAYOUT & CARDS --- */
.section {
    padding: 80px 10%;
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.card {
    /* Transparent background to show watermark */
    background: rgba(255, 255, 255, 0.60); 
    backdrop-filter: blur(3px);
    padding: 2.5rem;
    border-radius: 4px;
    border-top: 4px solid var(--gold-accent);
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.80); 
}

.gold-text {
    color: var(--gold-accent);
}

.expertise-heading {
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.expertise-link {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 600;
}

/* --- 6. HIGHLY TRANSPARENT FOOTER --- */
footer {
    /* FIX: More transparent background (50% opacity) to show logo clearly */
    background-color: rgba(252, 252, 252, 0.50);
    backdrop-filter: blur(3px); /* Subtle blur for text readability */
    
    padding: 60px 10% 40px 10%;
    border-top: 1px solid rgba(238, 238, 238, 0.5);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-clock-box {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--gold-accent);
    background: rgba(255, 255, 255, 0.40); /* More transparent */
}

#silicon-valley-clock {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: 2px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 7. RESPONSIVENESS --- */
@media (max-width: 900px) {
    .logo {
        flex-direction: column;
    }
    .logo img {
        margin-right: 0;
        margin-bottom: 20px;
        height: 100px !important;
    }
    .logo span {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}