:root {
    --mahogany: #4A1C1A;
    --gold: #C5A100;
    --cream: #F5F0E6;
    --charcoal: #2C2C2C;
    --burgundy: #7B2D26;
    --white: #FFFFFF;
    --reddish: #8B3A3A;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--cream);
    min-height: 100vh;
    position: relative;
}

/* Grid Overlay */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(200, 200, 200, 0.15),
            rgba(200, 200, 200, 0.15) 1px,
            transparent 1px,
            transparent 20px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(200, 200, 200, 0.15),
            rgba(200, 200, 200, 0.15) 1px,
            transparent 1px,
            transparent 20px
        );
    pointer-events: none;
    z-index: 0;
}

/* Header */
.header {
    background-color: var(--cream);
    border-bottom: 1px solid rgba(197, 161, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-dovetail {
    display: flex;
    align-items: center;
    font-family: 'Arial Black', sans-serif;
    font-size: 1.8rem;
    color: var(--mahogany);
    letter-spacing: 1px;
    font-weight: 900;
}

.dovetail-d {
    width: 36px;
    height: 36px;
    margin-right: 3px;
    position: relative;
    background-color: var(--gold);
}

.dovetail-d::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 70%;
    top: 15%;
    left: 27%;
    background-color: var(--mahogany);
    clip-path: polygon(0% 0, 100% 20%, 100% 80%, 0% 100%);
}

.remaining-text {
    color: var(--mahogany);
    margin-left: 0;
}

.navigation {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

/* Main Content */
.main-content {
    position: relative;
    padding: 2rem 0;
    z-index: 1;
}

/* Triangle Sections */
.triangle-section {
    position: relative;
    margin: 4rem 0;
    min-height: 400px;
}

/* Left Triangle - Products */
.left-triangle {
    clip-path: polygon(0 0, 75% 0, 60% 100%, 0 100%);
    background-color: var(--mahogany);
    padding: 4rem 3rem 4rem 4rem;
}

.left-triangle .triangle-content {
    max-width: 800px;
}

.left-triangle .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.left-triangle .section-description {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    background-color: rgba(197, 161, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-card h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--cream);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-explore {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Spacer */
.section-spacer {
    height: 100px;
}

/* Right Triangle - About/Contact */
.right-triangle {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 40% 100%);
    background-color: var(--reddish);
    padding: 4rem 4rem 4rem 30%;
    margin-left: auto;
    text-align: right;
}

.right-triangle .triangle-content {
    max-width: 800px;
    margin-left: auto;
}

.right-triangle .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.right-triangle .section-description {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: right;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    gap: 3rem;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.contact-method {
    text-align: right;
}

.contact-method h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-method p,
.contact-method a {
    color: var(--cream);
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--gold);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--gold);
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--cream);
    color: var(--mahogany);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
    padding: 4rem 2rem;
    background-color: transparent;
    margin-top: 4rem;
    z-index: 1;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(197, 161, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-button {
    width: 100%;
    background-color: var(--mahogany);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--cream);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.footer-info {
    margin-bottom: 1rem;
}

.registered-office {
    font-size: 0.9rem;
    color: rgba(245, 240, 230, 0.8);
    margin-top: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .left-triangle {
        clip-path: polygon(0 0, 85% 0, 70% 100%, 0 100%);
        padding: 3rem 2rem 3rem 3rem;
    }
    
    .right-triangle {
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 30% 100%);
        padding: 3rem 3rem 3rem 25%;
    }
}

@media (max-width: 768px) {
    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--cream);
        border-bottom: 1px solid rgba(197, 161, 0, 0.3);
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .navigation.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.75rem 2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .left-triangle,
    .right-triangle {
        clip-path: none;
        padding: 3rem 2rem;
        text-align: left;
    }
    
    .right-triangle .triangle-content {
        text-align: left;
    }
    
    .right-triangle .section-description {
        text-align: left;
    }
    
    .contact-methods {
        justify-content: flex-start;
    }
    
    .contact-method {
        text-align: left;
    }
}