/* ========================================
   TABLE OF CONTENTS - style.css
========================================
   1. CSS Reset & Variables
   2. Base Styles (Body & Typography)
   3. Header
   4. Availability Section
   5. General Sections
   6. Pricing Grid
   7. Information List
   8. CCTV Notice
   9. Contact Form
  10. Footer
========================================
*/

/* =====================================
   1. CSS Reset & Variables
===================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --bg-color: #f4f7f6;
    --text-main: #333;
    --text-light: #666;
    --white: #fff;
    --border-color: #e9ecef;
}

/* =====================================
   2. Base Styles (Body & Typography)
===================================== */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding: 15px;
    max-width: 500px; /* Κρατάει την εμφάνιση "κινητού" */
    margin: 0 auto;
}

/* =====================================
   3. Header
===================================== */
header {
    text-align: center;
    margin-bottom: 25px;
    padding-top: 20px;
}

header h1 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

header .location {
    color: var(--text-light);
    font-size: 14px;
}

/* =====================================
   4. Availability Section
===================================== */
.availability-section {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}

.status .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

/* Χρώματα: Διαθέσιμο */
.status.available {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.status.available .indicator {
    background-color: #4caf50;
    box-shadow: 0 0 5px #4caf50;
}

/* Χρώματα: Μη Διαθέσιμο */
.status.occupied {
    background-color: #ffebee;
    color: #c62828;
}
.status.occupied .indicator {
    background-color: #f44336;
    box-shadow: 0 0 5px #f44336;
}

.next-available {
    font-size: 14px;
    color: #555;
}

/* =====================================
   5. General Sections
===================================== */
section {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* =====================================
   6. Pricing Grid
===================================== */
.price-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.price-card {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 5px;
    text-align: center;
}

.price-card .duration {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.price-card .amount {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

/* =====================================
   7. Information List
===================================== */
.details-list {
    list-style: none;
}

.details-list li {
    margin-bottom: 10px;
    font-size: 14px;
    padding-left: 15px;
    position: relative;
}

.details-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* =====================================
   8. CCTV Notice
===================================== */
.cctv-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cctv-notice .icon {
    font-size: 24px;
}

.cctv-notice p {
    font-size: 13px;
    color: #856404;
    margin: 0;
}

/* =====================================
   9. Contact Form
===================================== */
.contact p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px; /* 16px αποτρέπει το auto-zoom στα iPhone */
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

button[type="submit"] {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

button[type="submit"]:active {
    background-color: var(--primary-hover);
}

/* =====================================
  10. Footer
===================================== */
footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #999;
}