/* --- LUXURY AESTHETIC | style.css --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --gold: #d4af37;
    --gold-dim: #aa8c2c;
    --text-main: #f5f5f5;
    --glass-dark: rgba(0, 0, 0, 0.6);
    --border-light: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background: #000;
    overflow-x: hidden;
}

/* --- FULL SCREEN BACKGROUNDS --- */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    z-index: -1;
}

/* --- NAVIGATION (Rolls Royce Style) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.4s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--gold);
    transition: 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* --- HERO TEXT CENTERING --- */
.hero-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 0.5s;
}

p.subtitle {
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 0.8s;
}

/* --- BUTTONS --- */
.btn-luxury {
    padding: 1rem 3rem;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: 0.4s;
    backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 1.1s;
}

.btn-luxury:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- GRIDS (For Projects/Templates) --- */
.content-section {
    padding: 150px 10% 50px; /* Top padding clears nav */
    min-height: 100vh;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    border-left: 3px solid var(--gold);
    padding-left: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.grid-item {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: 0.4s;
    overflow: hidden;
}

.grid-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(40%);
    transition: 0.5s;
}

.grid-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.item-info {
    padding: 2rem;
}

.item-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.item-info a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold-dim);
}

/* --- FORM STYLING --- */
form {
    max-width: 600px;
    margin-top: 2rem;
}

input, select, textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 15px 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

select option { background: #000; }

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE --- */
@media(max-width: 768px) {
    nav { padding: 1.5rem; flex-direction: column; gap: 1rem; background: #000; }
    h1 { font-size: 2.5rem; }
}
/* --- ADD TO BOTTOM OF style.css --- */

/* Initial state: Hidden and pushed down */
.grid-item, .section-title {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(50px);
    transition: all 1.2s ease-out; /* Slow, elegant transition */
}

/* Final state: Visible and in place (Added by script.js) */
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}