:root {
    --primary: #111827;
    --accent: #d4af37; /* Gold accent */
    --text: #4b5563;
    --text-light: #9ca3af;
    --bg: #fafafa;
    --white: #ffffff;
    --glass: rgba(17, 24, 39, 0.8); /* Dark glass */
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    transition: padding 0.4s ease;
}

header.scrolled nav {
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover, header.scrolled .nav-links a:hover {
    color: var(--accent);
}

.social-nav a {
    color: var(--white);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.social-nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using one of the images as background */
    background: url('assets/tms-4.jpeg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.7) 0%, rgba(17, 24, 39, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content .subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content .accent {
    color: var(--accent);
    font-style: italic;
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.primary {
    background: var(--accent);
    color: var(--primary);
    border: 1px solid var(--accent);
}

.btn.primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn.secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Collection Gallery */
.collection {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
    grid-auto-flow: dense;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #eee;
}

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

.grid-item.tall {
    grid-row: span 2;
}

.grid-item.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .grid-item.wide { grid-column: span 2; }
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        /* Force 3 columns on very small screens to match the requested dense/small grid look */
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 120px;
        gap: 0.3rem;
    }
    .grid-item.wide { grid-column: span 2; }
    .grid-item.tall { grid-row: span 2; }
    .item-overlay span {
        padding: 0.4rem 0.8rem;
        font-size: 0.6rem;
    }
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-overlay span {
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    color: var(--primary);
    border: 1px solid var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.grid-item:hover .item-overlay {
    opacity: 1;
}

.grid-item:hover .item-overlay span {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Contact Info Section */
.contact-info-section {
    padding: 4rem 0 6rem;
    background: var(--bg);
}

.contact-card {
    background: var(--primary);
    border-radius: 12px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
    backgroundImage: url('assets/tms-1.jpeg');
    backgroundPosition: center;
    backgroundSize: cover;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
}

.contact-content h2 {
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-content > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.2rem;
}

.info-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.info-item p, .info-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #000;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content .logo {
    font-size: 1.2rem;
}

.footer-content p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .contact-card { padding: 3rem 1.5rem; }
}
