/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    width: 100%;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.main-logo, .secondary-logo {
    width: auto;
}

@media (min-width: 769px) {
    .main-logo {
        margin-left: 20px;
    }
    
    .secondary-logo {
        margin-right: 20px;
    }
}

.tagline {
    font-size: 1.2rem;
    color: #2A1B75;
    text-align: center;
    flex-grow: 1;
    margin: 0 2rem;
}

/* Navigation styles */
.main-nav {
    /*border-top: 1px solid #eee; */
    /*padding-top: 1rem;*/
    background-color: #00A0DF;
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
    width: 100%;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    width: 100%;
}

/* Desktop styles */
@media (min-width: 769px) {
    .nav-menu > li {
        flex: 1;
        text-align: center;
    }

    .mobile-only {
        display: none;
    }

    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #00A0DF;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        list-style: none;
        z-index: 1000;
        padding: 0.5rem 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        display: block;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #00A0DF;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
        text-align: left;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile menu toggle active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero section styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('../images/heroimage.png');
    background-size: cover;
    background-position: center;
}

.hero-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-button {
        width: 100%;
    }
}

.hero-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
}

.hero-button i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-button span {
    font-size: 1.2rem;
    font-weight: 500;
}

.block-management {
    background-color: rgba(0, 160, 223, 0.9);
}

.lettings {
    background-color: rgba(42, 27, 117, 0.9);
}

.sales {
    background-color: rgba(0, 160, 223, 0.9);
}

.commercial {
    background-color: rgba(42, 27, 117, 0.9);
}

.hero-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Footer styles */
.site-footer {
    background: #00A0DF;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info address {
    margin-bottom: 1rem;
    font-style: normal;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
}

.footer-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .tagline {
        margin: 1rem 0;
    }

    .header-container {
        padding-right: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1001;
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #00A0DF;
        padding: 1rem;
        margin-top: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.8rem 0;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-logos {
        justify-content: center;
    }
}