/* CTDXIFA INC - Department Store Style */
/* Classic Retail Theme - Warm Earth Tones with Burgundy & Gold */

:root {
    --primary: #8B2635;      /* Burgundy */
    --secondary: #D4A853;    /* Gold */
    --accent: #2C3E50;       /* Dark Slate */
    --bg-light: #FDF8F3;     /* Cream */
    --bg-dark: #1A1A1A;      /* Near Black */
    --text-dark: #2C2C2C;
    --text-light: #F5F5F5;
    --shadow: rgba(0,0,0,0.15);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Top Navigation - Classic Horizontal with Underline */
.nav-elegant {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.nav-elegant .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-elegant .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: 2px;
    padding: 15px 0;
}

.nav-elegant .nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-elegant .nav-menu li a {
    display: block;
    padding: 18px 25px;
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s;
}

.nav-elegant .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-elegant .nav-menu li a:hover::after,
.nav-elegant .nav-menu li a.active::after {
    width: 80%;
}

.nav-elegant .nav-menu li a:hover {
    color: var(--secondary);
}

/* Hero - Full Width Banner */
.hero-banner {
    margin-top: 60px;
    height: 70vh;
    background: linear-gradient(135deg, var(--primary) 0%, #5c1a24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.pexels.com/photos/264636/pexels-photo-264636.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.2;
}

.hero-banner .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
}

.hero-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 3px;
}

.hero-banner .tagline {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.hero-banner .description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--secondary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: #c49a4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
}

/* Section Styles */
section {
    padding: 80px 40px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto 0;
}

/* Products Grid - 3-4 Columns */
.products-section {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .card-content {
    padding: 20px;
}

.product-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Features - 3 Column */
.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    border-top: 4px solid var(--secondary);
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-card p {
    color: #555;
}

/* About Section */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 30px var(--shadow);
}

.about-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary);
    margin-bottom: 15px;
}

.team-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
}

.team-card p {
    color: #777;
    font-size: 0.9rem;
}

/* Cases Section */
.cases-section {
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-card .card-content {
    padding: 25px;
}

.case-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    background: var(--accent);
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-btn {
    background: var(--secondary);
    color: var(--bg-dark);
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.form-btn:hover {
    background: #c49a4a;
    transform: translateY(-2px);
}

/* Footer - Multi-Column Classic */
.footer-classic {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--text-light);
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-info h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-info p {
    color: #aaa;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-elegant .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .nav-elegant .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}