/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* CSS Variables */ :root { --primary-color: #2c5530; --secondary-color: #8b4513; --accent-color: #d4af37; --text-color: #333; --light-text: #666; --background-color: #f8f9fa; --white: #ffffff; --border-color: #ddd; --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); --border-radius: 8px; --transition: all 0.3s ease; } /* Base Styles */ * { box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--text-color); background-color: var(--background-color); } /* Container */ .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; } /* Header */ header { background-color: var(--white); box-shadow: var(--shadow); padding: 1rem 0; position: sticky; top: 0; z-index: 100; } header .container { display: flex; justify-content: space-between; align-items: center; } h1 { font-size: 2.5rem; font-weight: bold; color: var(--primary-color); } h1 a { text-decoration: none; color: inherit; transition: var(--transition); } h1 a:hover, h1 a:focus { color: var(--secondary-color); } /* Navigation */ nav ul { display: flex; gap: 2rem; } nav a { text-decoration: none; color: var(--text-color); font-weight: 500; padding: 0.5rem 1rem; border-radius: var(--border-radius); transition: var(--transition); } nav a:hover, nav a:focus { background-color: var(--primary-color); color: var(--white); } nav a.active { background-color: var(--primary-color); color: var(--white); } /* Main Content */ main { min-height: calc(100vh - 200px); } /* Hero Header Styles */ .hero-header { background: url('images/swiss-valley.jpg') center center/cover no-repeat; min-height: 400px; display: flex; align-items: center; justify-content: center; position: relative; } .hero-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.3); z-index: 1; } .hero-header-content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 0 2rem 0; } .hero-header h1 { color: var(--white); font-size: 3rem; font-weight: bold; margin-bottom: 1.5rem; text-align: center; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); } .hero-header h1 a { color: var(--white); text-decoration: none; } .hero-header nav ul { display: flex; gap: 3rem; justify-content: center; } .hero-header nav a { color: var(--white); font-size: 1.2rem; font-weight: bold; text-decoration: underline; transition: color 0.2s; } .hero-header nav a:hover, .hero-header nav a:focus { color: var(--accent-color); } /* Remove old .hero section styles */ .hero { display: none; } /* Hero Text Section (below header) */ .hero-text-section { text-align: center; padding: 3rem 1rem 2rem 1rem; background: var(--background-color); } .hero-text-section h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; } .hero-text-section p { font-size: 1.2rem; color: var(--light-text); max-width: 700px; margin: 0 auto; } /* Content Sections */ .content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; } .content-group { background-color: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; } .content-group img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--border-radius) var(--border-radius) 0 0; } .content-group div { padding: 2rem; flex: 1; display: flex; flex-direction: column; justify-content: center; } .content-group h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 1rem; } .content-group p { font-size: 1rem; color: var(--light-text); line-height: 1.6; } /* Contact Page Styles */ .contact-content { max-width: 800px; margin: 0 auto; padding: 2rem; background-color: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); } .contact-content h2 { font-size: 2.5rem; color: var(--primary-color); text-align: center; margin-bottom: 1rem; } .contact-content p { font-size: 1.1rem; color: var(--light-text); text-align: center; margin-bottom: 2rem; } .contact-content img { display: block; margin: 2rem auto; border-radius: var(--border-radius); box-shadow: var(--shadow); } /* Form Styles */ form { margin-top: 2rem; } fieldset { border: 2px solid var(--border-color); border-radius: var(--border-radius); padding: 2rem; background-color: var(--background-color); } legend { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); padding: 0 1rem; } label { display: block; font-weight: 600; color: var(--text-color); margin-bottom: 0.5rem; margin-top: 1.5rem; } label:first-of-type { margin-top: 0; } input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: 0.75rem; border: 2px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; font-family: inherit; transition: var(--transition); } input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1); } input[type="text"]:invalid, input[type="email"]:invalid, input[type="tel"]:invalid, textarea:invalid { border-color: #dc3545; } /* Radio Buttons */ input[type="radio"] { margin-right: 0.5rem; margin-left: 1rem; } input[type="radio"]:first-of-type { margin-left: 0; } input[type="radio"] + label { display: inline; margin-left: 0.5rem; margin-top: 0; } /* Submit Button */ button[type="submit"] { background-color: var(--primary-color); color: var(--white); padding: 1rem 2rem; border: none; border-radius: var(--border-radius); font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: var(--transition); margin-top: 2rem; width: 100%; } button[type="submit"]:hover, button[type="submit"]:focus { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } /* Footer */ footer { background-color: var(--primary-color); color: var(--white); text-align: center; padding: 2rem 0; margin-top: 3rem; } footer p { margin-bottom: 0.5rem; } footer a { color: var(--accent-color); text-decoration: none; transition: var(--transition); } footer a:hover, footer a:focus { color: var(--white); text-decoration: underline; } /* Responsive Design */ @media (max-width: 768px) { .container { padding: 0 15px; } header .container { flex-direction: column; gap: 1rem; } nav ul { gap: 1rem; } .hero-header h1 { font-size: 2.5rem; } .hero-text-section h2 { font-size: 2.5rem; } .hero-text-section p { font-size: 1rem; } .content-wrapper { grid-template-columns: 1fr; gap: 2rem; } .contact-content { padding: 1rem; } fieldset { padding: 1rem; } } /* Contact Page Grid Layout */ .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: flex-start; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 2.5rem 2rem; margin-top: 3rem; } .contact-image-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } .contact-image-col img { width: 100%; max-width: 400px; height: auto; border-radius: var(--border-radius); box-shadow: var(--shadow); } .contact-form-col { display: flex; flex-direction: column; justify-content: flex-start; } .contact-form-col h2 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; } .contact-form-col p { font-size: 1rem; color: var(--light-text); margin-bottom: 1rem; } .contact-form-col form { width: 100%; } .contact-form-col fieldset { border: 2px solid var(--border-color); border-radius: var(--border-radius); padding: 2rem 1.5rem 1.5rem 1.5rem; background-color: var(--background-color); display: flex; flex-direction: column; gap: 0.5rem; } .contact-form-col legend { font-size: 1.2rem; font-weight: bold; color: var(--primary-color); margin-bottom: 1rem; } .contact-form-col label { font-weight: 600; color: var(--text-color); margin-bottom: 0.2rem; margin-top: 1.1rem; } .contact-form-col label:first-of-type { margin-top: 0; } .contact-form-col input[type="text"], .contact-form-col input[type="email"], .contact-form-col input[type="tel"], .contact-form-col textarea { width: 100%; padding: 0.7rem; border: 2px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; font-family: inherit; margin-bottom: 0.2rem; transition: var(--transition); } .contact-form-col input[type="text"]:focus, .contact-form-col input[type="email"]:focus, .contact-form-col input[type="tel"]:focus, .contact-form-col textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1); } .contact-form-col input[type="text"]:invalid, .contact-form-col input[type="email"]:invalid, .contact-form-col input[type="tel"]:invalid, .contact-form-col textarea:invalid { border-color: #dc3545; } /* Radio Row Styling */ .radio-row { display: flex; align-items: center; gap: 2rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1rem 1.5rem; margin: 1rem 0 0.5rem 0; background: var(--white); } .radio-row input[type="radio"] { margin-right: 0.5rem; margin-left: 0; accent-color: var(--primary-color); width: 1.2em; height: 1.2em; } .radio-row label { display: inline; margin: 0 1.2rem 0 0.2rem; font-weight: 500; color: var(--text-color); margin-top: 0; } /* Submit Button Full Width */ .contact-form-col button[type="submit"] { background-color: var(--primary-color); color: var(--white); padding: 1rem 2rem; border: none; border-radius: var(--border-radius); font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: var(--transition); margin-top: 2rem; width: 100%; display: block; } .contact-form-col button[type="submit"]:hover, .contact-form-col button[type="submit"]:focus { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0.5rem; } .contact-image-col img { max-width: 100%; margin: 0 auto; } }