/* Nissan Brand Colors & Typography */
:root {
    --nissan-red: #C3002F;
    --nissan-black: #000000;
    --nissan-silver: #C0C0C0;
    --nissan-dark-gray: #333333;
    --nissan-light-gray: #F5F5F5;
    --nissan-white: #FFFFFF;
    --accent-blue: #0066CC;
    --success-green: #28A745;
    --warning-orange: #FD7E14;
    
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 2px 4px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--nissan-dark-gray);
    background-color: var(--nissan-light-gray);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--nissan-black) 0%, var(--nissan-dark-gray) 100%);
    color: var(--nissan-white);
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.profile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--nissan-red);
    object-fit: cover;
    box-shadow: var(--shadow-card);
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-info h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--nissan-silver);
    margin-bottom: 15px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.nissan-logo {
    height: 30px;
    width: auto;
}

.business-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-status.open {
    background: rgba(40, 167, 69, 0.2);
    border-color: var(--success-green);
}

.business-status.closed {
    background: rgba(195, 0, 47, 0.2);
    border-color: var(--nissan-red);
}

/* Action Buttons */
.action-section {
    background: var(--nissan-white);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-button);
    text-align: center;
}

.btn-primary {
    background: var(--nissan-red);
    color: var(--nissan-white);
}

.btn-primary:hover {
    background: #A50026;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(195, 0, 47, 0.3);
}

.btn-secondary {
    background: var(--nissan-dark-gray);
    color: var(--nissan-white);
}

.btn-secondary:hover {
    background: var(--nissan-black);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-blue);
    color: var(--nissan-white);
}

.btn-accent:hover {
    background: #0052A3;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--nissan-red);
    border: 2px solid var(--nissan-red);
}

.btn-outline:hover {
    background: var(--nissan-red);
    color: var(--nissan-white);
}

/* Contact Cards */
.contact-section {
    padding: 40px 0;
    background: var(--nissan-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--nissan-white);
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-card);
}

.contact-card h3 {
    color: var(--nissan-black);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card h3 i {
    color: var(--nissan-red);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F0F0F0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item .label {
    font-weight: 500;
    color: var(--nissan-dark-gray);
}

.contact-item a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--nissan-red);
}

/* Business Hours */
.hours-section {
    background: var(--nissan-light-gray);
    padding: 40px 0;
}

.hours-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--nissan-black);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hours-section h3 i {
    color: var(--nissan-red);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hours-department {
    background: var(--nissan-white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-card);
}

.hours-department h4 {
    color: var(--nissan-red);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}

.hours-item:last-child {
    border-bottom: none;
}

/* Location */
.location-section {
    background: var(--nissan-white);
    padding: 40px 0;
    text-align: center;
}

.location-section h3 {
    margin-bottom: 20px;
    color: var(--nissan-black);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.location-section h3 i {
    color: var(--nissan-red);
}

.location-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Customer Tools */
.tools-section {
    background: var(--nissan-light-gray);
    padding: 40px 0;
}

.tools-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--nissan-black);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tools-section h3 i {
    color: var(--nissan-red);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--nissan-white);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--nissan-dark-gray);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--nissan-red);
    box-shadow: 0 8px 25px rgba(195, 0, 47, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--nissan-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.tool-icon i {
    color: var(--nissan-white);
    font-size: 1.5rem;
}

.tool-card h4 {
    color: var(--nissan-black);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tool-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-card small {
    color: var(--nissan-silver);
    font-style: italic;
}

/* Websites */
.websites-section {
    background: var(--nissan-white);
    padding: 40px 0;
    text-align: center;
}

.websites-section h3 {
    margin-bottom: 20px;
    color: var(--nissan-black);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.websites-section h3 i {
    color: var(--nissan-red);
}

.website-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.website-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid var(--accent-blue);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.website-link:hover {
    background: var(--accent-blue);
    color: var(--nissan-white);
}

/* QR Code */
.qr-section {
    background: var(--nissan-light-gray);
    padding: 40px 0;
    text-align: center;
}

.qr-section h3 {
    margin-bottom: 20px;
    color: var(--nissan-black);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-section h3 i {
    color: var(--nissan-red);
}

.qr-container {
    background: var(--nissan-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    display: inline-block;
}

#qrcode {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: var(--nissan-black);
    color: var(--nissan-white);
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 5px;
}

.footer-content p:last-child {
    color: var(--nissan-silver);
    font-size: 0.9rem;
}
