/* Holstein Travel Center - Main Styles
   Using a fresh color palette with teal blue primary color */

/* Base Styles */
:root {
    --primary-color: #2b5797;
    --secondary-color: #d83b01;
    --accent-color: #00b294;
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #e5eef7;
    --border-color: #dddddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Header Styles */
.header {
    background-color: var(--light-text);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-icon {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--light-text) !important;
    padding: 8px 20px !important;
    border-radius: 30px;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform-origin: left center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Accommodations Section */
.accommodations-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.room-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.room-details {
    padding: 20px;
}

.room-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.room-features {
    margin-top: 15px;
    padding-left: 20px;
}

.room-features li {
    position: relative;
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Amenities Section */
.amenities-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.amenity-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.amenity-icon {
    margin-bottom: 20px;
}

.amenity-item h3 {
    margin-bottom: 15px;
}

/* Dining Section */
.dining-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.dining-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dining-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dining-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.dining-details {
    padding: 20px;
}

.dining-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-card a {
    font-weight: 500;
    text-decoration: underline;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.detail-item ul {
    padding-left: 20px;
}

.detail-item li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: disc;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand a {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand span {
    font-weight: 800;
    color: var(--secondary-color);
}

.footer-brand p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    opacity: 0.7;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links li a {
    color: rgba(255, 255, 255, 0.7);
}

.legal-links li a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

/* Animations */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--light-text);
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
    
    .main-nav ul li a:hover {
        background-color: var(--light-bg);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .room-types,
    .dining-options,
    .news-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .room-card,
    .dining-card,
    .news-card,
    .amenity-item {
        max-width: 400px;
        margin: 0 auto;
    }
}
