/* Global Styles */
:root {
    --primary-color: #002f34;
    --secondary-color: #00acc1;
    --accent-color: #ffd54f;
    --dark-teal: #004d40;
    --light-teal: #26c6da;
    --background-start: #f0fdfa;
    --background-end: #e0f7fa;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-start), var(--background-end));
    position: relative;
}

/* Texture overlay for background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(0,0,0,0.03)" stroke-width="0.5"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-teal);
}

section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #555;
}

/* Terminal-style UI elements */
.terminal-button {
    display: inline-block;
    background: var(--dark-teal);
    color: var(--light-text);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.terminal-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.terminal-button.secondary {
    background: transparent;
    border: 2px solid var(--dark-teal);
    color: var(--dark-teal);
}

.terminal-button.secondary:hover {
    background: rgba(0, 77, 64, 0.1);
}

.terminal-input, .terminal-select {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 2px solid var(--secondary-color);
    background: transparent;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.terminal-input:focus, .terminal-select:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

/* RFID Card Style */
.rfid-card {
    background: white;
    border-radius: var(--border-radius);
    border: 2px double var(--light-teal);
    padding: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.rfid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-chip {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 25px;
    background: linear-gradient(45deg, var(--accent-color), #ffb300);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-chip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.card-chip::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 47, 52, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

/* Header */
header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 10px;
    color: var(--light-text);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-button {
    background: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
}

.nav-button:hover {
    background: var(--light-teal);
    color: var(--light-text);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background: rgba(255, 255, 255, 0.7);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rfid-card h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
}

.learn-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* How It Works Section */
.steps-container {
    margin-top: 50px;
}

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--dark-teal);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--secondary-color);
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Locations Section */
.map-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.map-sidebar {
    flex: 1;
    max-width: 350px;
}

.location-filter {
    margin-bottom: 20px;
}

.location-list {
    max-height: 400px;
    overflow-y: auto;
}

.location-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.location-item:hover, .location-item.active {
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.location-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.location-item p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.map-display {
    flex: 2;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-display iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.map-marker:hover {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.map-marker::after {
    content: attr(data-location);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.map-marker:hover::after {
    opacity: 1;
}

/* Booking Form Section */
.booking {
    background: rgba(0, 47, 52, 0.05);
}

.booking-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    background: rgba(255, 255, 255, 0.8);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-container {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-company {
    margin-left: 15px;
}

.footer-company p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .form-columns {
        flex-direction: column;
    }
    
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
} 