/* General Styling */
:root {
    --primary-color: #1a1a1a; /* Dark Charcoal */
    --secondary-color: #f5f5f5; /* Off-white */
    --accent-color: #c0a172; /* Muted Gold/Bronze */
    --text-color: #dcdcdc;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Header and Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--secondary-color);
}


/* Hero Section */
#hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x1080.png?text=Luxury+Metal+Door');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #252525;
    border: 1px solid #333;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* About Us Section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.about-text {
    flex: 1;
}
.about-text h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Testimonials Section */
#testimonials {
    background-color: #222;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}
.testimonial {
    display: none;
}
.testimonial.active {
    display: block;
}
.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial h4 {
    color: var(--accent-color);
    font-weight: 500;
}

/* Footer */
footer {
    background: #111;
    padding-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.footer-section h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.footer-section p {
    color: #999;
}
.footer-section ul {
    list-style: none;
}
.footer-section a {
    color: #999;
    text-decoration: none;
}
.footer-email {
    color: var(--accent-color);
    font-weight: bold;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #1a1a1a;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }
}