@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    background-color: #f5f5f5;
    color: #333;
}

* {
    box-sizing: border-box;
}

/* Bootstrap Overrides & Custom branding */
:root {
    --dell-blue: #0076ce;
    --dell-blue-hover: #005b9f;
}

/* Custom Colors */
.bg-primary-dell {
    background-color: var(--dell-blue) !important;
}

.text-primary-dell {
    color: var(--dell-blue) !important;
}

.btn-primary-dell {
    background-color: var(--dell-blue);
    border-color: var(--dell-blue);
}

.btn-primary-dell:hover {
    background-color: var(--dell-blue-hover);
    border-color: var(--dell-blue-hover);
}

/* Header & Nav */
.filter-white {
    filter: brightness(0) invert(1);
}

/* Header */
header {
    background-color: #0076ce;
    color: white;
    padding: 20px 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-section,
.social-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-section {
    align-items: flex-start;
}

.label {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2px;
}

.phone {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.divider {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.4);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #000c25, #0076ce);
    color: white;
    padding: 50px 0;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.hero-laptop {
    max-width: 500px;
    width: 100%;
    transform: rotate(-10deg);
}

.hero-text {
    max-width: 400px;
}

.alienware-logo {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-text h2 {
    font-size: 48px;
    margin: 0 0 10px;
    font-weight: 300;
}

.hero-text p {
    font-size: 24px;
    margin: 0 0 20px;
}

.intel-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.intel-badge img {
    height: 40px;
}

/* Hero Section */
.hero-slider {
    margin-bottom: 0;
}

/* Search Section */
.search-section {
    background-color: white;
    /* Or keep transparent/gray if needed, usually white for this design */
    padding: 20px 0;
    display: flex;
    justify-content: center;
    top: 0;
}

.search-container {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    width: 100%;
    max-width: 900px;
    height: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.locate-me {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.locate-me span {
    text-decoration: underline;
    font-weight: bold;
}

.search-divider {
    width: 1px;
    height: 30px;
    background-color: #ccc;
    margin: 0 10px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 10px;
    gap: 10px;
}

.search-input-wrapper i {
    color: #666;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #333;
}

.find-stores {
    background-color: #0076ce;
    color: white;
    border: none;
    padding: 0 30px;
    height: 100%;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    /* To make button fill height if container has padding, might need adjustment or height:100% on container */
    height: 40px;
    border-radius: 2px;
}

.find-stores:hover {
    background-color: #005b9f;
}

/* City Section */
.city-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.city-section h3 {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: bold;
}

.city-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* City Items */
.city-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    background: white;
}

.city-item:hover {
    transform: translateY(-5px);
}

.city-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    /* Use black filter if SVGs aren't already black, assuming they are black line art */
}

.city-item p {
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #333;
    margin: 0;
}

.shadow-sm-hover:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.transition-hover {
    transition: all 0.3s ease;
}

/* Slick Arrow Customization if needed, otherwise Bootstrap handles layout */
.slick-prev:before,
.slick-next:before {
    color: var(--dell-blue);
}

/* Widgets */
.side-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0076ce;
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 20px 10px;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 100;
}

.whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.whatsapp-widget img {
    width: 35px;
    height: 35px;
}

/* Modal styles are now handled by Bootstrap 5 */
/* Ensuring SweetAlert is always on top */
.swal2-container {
    z-index: 100000 !important;
}

/* Reuse existing form styles within modal if needed, but Bootstrap handles most */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    display: inline;
    margin: 0;
    font-weight: normal;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #0076ce;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #005cbf;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {

    /* Header Mobile */
    header {
        padding: 10px 0;
    }

    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 25px;
    }

    /* Add hamburger menu icon */
    .logo::after {
        content: '☰';
        font-size: 24px;
        color: white;
        cursor: pointer;
    }

    /* Hide desktop navigation */
    nav {
        display: none;
    }

    /* Header right section - simplified for mobile */
    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        flex-direction: row;
        display: none !important;
    }

    .contact-section {
        align-items: flex-start;
    }

    .label {
        font-size: 10px;
    }

    .phone {
        font-size: 16px;
    }

    .divider {
        display: none;
    }

    .social-section {
        align-items: flex-end;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        font-size: 14px;
    }

    /* Hero Slider Mobile */
    .hero-slider {
        margin: 0;
    }

    .hero-slider img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Search Section Mobile */
    .search-section {
        padding: 15px;
    }

    .search-container {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
        max-width: 100%;
    }

    .locate-me {
        width: 100%;
        padding: 10px;
        justify-content: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .search-divider {
        display: none;
    }

    .search-input-wrapper {
        width: 100%;
        padding: 10px;
        background-color: #f5f5f5;
        border-radius: 4px;
    }

    .search-input {
        font-size: 14px;
    }

    .find-stores {
        width: 100%;
        margin: 0;
        padding: 12px;
        height: auto;
    }

    /* City Section Mobile */
    .city-section {
        padding: 30px 15px;
    }

    .city-section h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .city-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .city-item img {
        width: 70px;
        height: 45px;
    }

    .city-item p {
        font-size: 14px;
    }

    /* Hide desktop widgets on mobile */
    .side-widget.get-in-touch {
        display: none;
    }

    .whatsapp-widget {
        display: none;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 14px;
    }
}

/* Bottom Navigation Bar - Mobile Only */
.bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        background-color: #0076ce;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999 !important;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: white;
        text-decoration: none;
        font-size: 12px;
        gap: 5px;
        flex: 1;
        text-align: center;
        cursor: pointer;
    }

    .bottom-nav-item i {
        font-size: 20px;
    }

    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 90px;
    }
}

/* Mobile Bottom Nav Fixes */
.fixed-bottom {
    z-index: 1030;
    /* Bootstrap default is 1030, ensuring it's on top */
}