/* VasaFlytt AB Brand Colors */
:root {
    --primary-blue: #1a3a6e;
    --primary-yellow: #f9c846;
    --dark-blue: #0f2444;
    --light-blue: #2d5a9e;
    --white: #ffffff;
    --gray-bg: #f5f7fa;
    --text-dark: #333333;
    --text-light: #666666;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(26, 58, 110, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav a i {
    font-size: 10px;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.85) 0%, rgba(15, 36, 68, 0.9) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #e5b73b 100%);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(249, 200, 70, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 200, 70, 0.5);
}

.btn-hero i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Main Content */
.main-content {
    padding: 50px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.form-section {
    flex: 1;
}

.sidebar {
    width: 320px;
}

/* Form Section Blocks */
.form-section-block {
    background: var(--white);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 58, 110, 0.08);
    border: 1px solid rgba(26, 58, 110, 0.05);
    transition: box-shadow 0.3s;
}

.form-section-block:hover {
    box-shadow: 0 6px 25px rgba(26, 58, 110, 0.12);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.section-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(26, 58, 110, 0.3);
}

.section-icon i {
    color: var(--white);
    font-size: 22px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-light);
    font-size: 14px;
}

/* Form Elements */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group-large {
    flex: 2;
}

.form-group-small {
    flex: 1;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(26, 58, 110, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a3a6e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
}

/* Radio Button Group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.radio-label input {
    display: none;
}

.radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid #d0d8e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: var(--white);
    position: relative;
}

.radio-label input:checked + .radio-circle {
    border-color: var(--primary-blue);
}

.radio-label input:checked + .radio-circle::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: absolute;
}

/* Furniture Section */
.furniture-room {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f4f8;
}

.furniture-room:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.furniture-room h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-icon {
    color: var(--primary-yellow);
    font-size: 16px;
    cursor: help;
    background: var(--primary-blue);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.furniture-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.furniture-image {
    flex: 1;
    min-width: 200px;
}

.room-svg {
    width: 100%;
    height: auto;
}

.furniture-items {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.furniture-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.furniture-item select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Removal Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.option-item {
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 15px;
}

.option-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    gap: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #d0d8e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: var(--white);
}

.checkbox-label input:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #e5b73b 100%);
    border-color: var(--primary-yellow);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\2713';
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #e5b73b 100%);
    color: var(--primary-blue);
    border: none;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(249, 200, 70, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e5b73b 0%, var(--primary-yellow) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 200, 70, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Sidebar Styles */
.sidebar-box {
    background: var(--white);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 58, 110, 0.08);
    border: 1px solid rgba(26, 58, 110, 0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-box h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-yellow);
}

.help-section,
.tips-section {
    margin-bottom: 25px;
}

.help-section:last-child,
.tips-section:last-child {
    margin-bottom: 0;
}

.help-section h4,
.tips-section h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.help-section h4 i,
.tips-section h4 i {
    color: var(--primary-yellow);
    font-size: 18px;
}

.help-item {
    margin-bottom: 15px;
    padding-left: 20px;
}

.help-item:last-child {
    margin-bottom: 0;
}

.help-item strong {
    display: block;
    color: #555;
    font-size: 14px;
    margin-bottom: 3px;
}

.help-item p {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.help-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.help-item a:hover {
    color: var(--primary-yellow);
}

.hours {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    margin-top: 3px;
}

.tips-section ul {
    list-style: none;
    padding-left: 0;
}

.tips-section li {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.tips-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 16px;
}

.tips-section li:last-child {
    margin-bottom: 0;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--primary-yellow);
    gap: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .furniture-grid {
        flex-direction: column;
    }
    
    .furniture-image {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        border-radius: 0 0 12px 12px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        padding: 15px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav a:hover,
    .nav a.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--primary-yellow);
    }
    
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
        border-radius: 8px;
        transition: background-color 0.3s;
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle.active {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .furniture-items {
        grid-template-columns: 1fr;
    }
    
    .form-section-block {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
}

/* Success Message Styles */
.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message h2 {
    margin-bottom: 10px;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input.error + .error-text,
.form-group select.error + .error-text {
    display: block;
}

/* Required field indicator */
.required {
    color: #dc3545;
}

/* Storage Section Styles */
.storage-days {
    transition: all 0.3s ease;
}

.storage-days-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.storage-days-input input[type="number"] {
    width: 80px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.storage-days-input .days-label {
    color: #666;
    font-size: 14px;
}

/* Date input styling */
input[type="date"] {
    font-family: inherit;
}

/* Phone link styling */
.help-item a[href^="tel:"] {
    color: #5cb85c;
    text-decoration: none;
    font-weight: 500;
}

.help-item a[href^="tel:"]:hover {
    text-decoration: underline;
}
