/* CSS RESET */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --max-width: 1280px; --font-primary: 'Garamond, serif' --font-fallback: cursive; --text-color: #333; --accent-color: #3498db; --footer-bg: linear-gradient(to right, #8e9eab, #eef2f3); } /* BODY STYLING */ body { font-family: var(--font-primary), var(--font-fallback); font-size: 1rem; color: var(--text-color); background-color: white; } /* CONTAINER FOR CENTERED CONTENT */ .container { max-width: var(--max-width); margin: 0 auto; padding: 1rem; } /* HERO SECTION */ header { background-image: url('images/swiss-valley.jpg'); background-size: cover; background-position: center; height: 400px; color: white; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); } header h1 { font-size: 2.5rem; margin-bottom: 1rem; } nav ul { display: flex; gap: 2rem; list-style: none; } nav a { color: white; text-decoration: none; font-weight: bold; } nav a:hover, nav a:focus { text-decoration: underline; } /* INTRO SECTION */ .intro { text-align: center; margin: 3rem auto; max-width: 800px; } .intro h2 { font-size: 2rem; margin-bottom: 1rem; } /* FEATURES SECTION */ .features { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin: 3rem auto; } .feature { width: 300px; text-align: center; } .feature img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 1rem; } .feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; } /* FOOTER */ footer { text-align: center; padding: 1rem; font-size: 0.9rem; background: var(--footer-bg); margin-top: 3rem; } /* HEADER logo image */ .header-logo { width: 80px; height: auto; margin-top: 1rem; } /* CONTACT LAYOUT */ .contact-layout { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; } /* LEFT image section */ .contact-left { flex: 1; min-width: 300px; } .contact-left img { width: 100%; height: auto; border-radius: 6px; } /* RIGHT form section */ .contact-right { flex: 2; min-width: 300px; } .contact-right h2 { font-size: 1.8rem; margin-bottom: 1rem; } .contact-right p { margin-bottom: 1rem; } /* Form styling (already in place but ensure it's present) */ form { display: flex; flex-direction: column; gap: 1rem; } form input[type="text"], form input[type="email"], form input[type="tel"], form textarea { padding: 0.5rem; border: 1px solid #ccc; border-radius: var(--border-radius); font-size: 1rem; width: 100%; } fieldset { border: 1px solid #ccc; padding: 1rem; border-radius: var(--border-radius); } legend { font-weight: bold; margin-bottom: 0.5rem; } form button[type="submit"] { background-color: var(--accent-color); color: white; padding: 0.75rem; border: none; border-radius: var(--border-radius); font-size: 1rem; cursor: pointer; } form button[type="submit"]:hover, form button[type="submit"]:focus { background-color: var(--text-color); } /* Responsive layout tweak */ @media (max-width: 768px) { .contact-layout { flex-direction: column; } }