/* Granada Electronics - Navy Blue & Cyan Tech Theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a237e;
    --primary-light: #283593;
    --accent: #00bcd4;
    --accent-light: #4dd0e1;
    --dark: #0d1117;
    --dark-alt: #161b22;
    --text: #e8eaed;
    --text-muted: #9aa0a6;
    --white: #ffffff;
    --border: #30363d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.header-cta {
    background: var(--accent);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.92) 0%, rgba(26, 35, 126, 0.7) 50%, rgba(0, 188, 212, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
    margin-left: 80px;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 188, 212, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories */
.categories {
    padding: 100px 0;
    background: var(--dark-alt);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.1);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category-info {
    padding: 28px;
}

.category-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.category-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.category-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.category-link:hover {
    color: var(--accent-light);
}

/* Why Us */
.why-us {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 40px 24px;
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Brands */
.brands {
    padding: 80px 0;
    background: var(--dark-alt);
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand {
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.brand:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark-alt);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .category-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 40px; }
    .hero-content { margin-left: 24px; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .header-cta { display: none; }
    .hero h1 { font-size: 32px; }
    .hero-content { margin-left: 0; }
    .hero-buttons { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .section-header h2 { font-size: 28px; }
}

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.page-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Products */
.products-section {
    padding: 80px 0;
}

.product-category {
    margin-bottom: 80px;
}

.product-category h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 188, 212, 0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.product-details p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

/* About */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.values {
    padding: 80px 0;
    background: var(--dark-alt);
}

/* Stats */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 40px 20px;
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--dark-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--accent-light);
}

@media (max-width: 992px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 32px; }
}
