/* HarborSmith - Main Styles */ /* ========================= */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Base Colors - will be overridden by themes */ --primary: #1e3a5f; --accent: #dc2626; --background: #ffffff; --surface: #f8f9fa; --text: #1f2937; --text-secondary: #6b7280; --border: #e5e7eb; --overlay: rgba(0, 0, 0, 0.5); /* Spacing */ --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem; /* Typography */ --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; --text-lg: 1.125rem; --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.25rem; --text-5xl: 3rem; /* Shadows */ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1); /* Transitions */ --transition-fast: 150ms ease; --transition-base: 250ms ease; --transition-slow: 350ms ease; /* Border Radius */ --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-full: 9999px; } /* Base Styles */ /* ========================= */ html { scroll-behavior: smooth; } body { font-family: var(--font-family); font-size: var(--text-base); line-height: 1.6; color: var(--text); background-color: var(--background); transition: background-color var(--transition-slow), color var(--transition-slow); } .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); } /* Typography */ /* ========================= */ h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: var(--space-md); } h1 { font-size: var(--text-5xl); } h2 { font-size: var(--text-4xl); } h3 { font-size: var(--text-3xl); } h4 { font-size: var(--text-2xl); } h5 { font-size: var(--text-xl); } h6 { font-size: var(--text-lg); } p { margin-bottom: var(--space-md); } a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: var(--accent); } /* Navigation */ /* ========================= */ .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); transition: all var(--transition-base); } .navbar.scrolled { background: rgba(255, 255, 255, 1); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } .nav-container { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg) var(--space-xl); max-width: 1400px; margin: 0 auto; } .nav-brand { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xl); font-weight: 700; color: var(--primary); } .logo { color: var(--primary); border-radius: 50%; object-fit: cover; } .brand-text { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .nav-menu { display: flex; align-items: center; gap: var(--space-xl); } .nav-link { position: relative; padding: var(--space-sm) var(--space-md); font-weight: 500; color: var(--text); transition: color var(--transition-fast); border: none; background: none; cursor: pointer; font-size: var(--text-base); font-family: inherit; } .nav-link:hover { color: var(--primary); } .nav-link.active { color: var(--primary); } .nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; background: var(--accent); } /* Mega Menu Dropdown */ .nav-dropdown { position: static; } .dropdown-toggle { display: flex; align-items: center; gap: var(--space-xs); } .dropdown-toggle::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform var(--transition-fast); } .nav-dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); } /* Mega Menu Container */ .mega-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--background); border-top: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 1000; } .nav-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); } .mega-menu-content { max-width: 1200px; margin: 0 auto; padding: var(--space-2xl) var(--space-xl); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-3xl); } .mega-menu-section { display: flex; flex-direction: column; gap: var(--space-lg); } .mega-menu-title { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); margin-bottom: var(--space-sm); } .mega-menu-item { display: flex; align-items: start; gap: var(--space-md); padding: var(--space-md); border-radius: var(--radius-lg); color: var(--text); transition: all var(--transition-fast); text-decoration: none; } .mega-menu-item:hover { background: var(--surface); transform: translateX(5px); } .mega-menu-icon { font-size: var(--text-3xl); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: var(--radius-lg); flex-shrink: 0; } .mega-menu-item:hover .mega-menu-icon { background: var(--primary); color: white; } .mega-menu-content-wrapper { flex: 1; } .mega-menu-item-title { font-weight: 600; font-size: var(--text-base); margin-bottom: var(--space-xs); color: var(--text); } .mega-menu-item-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.4; } /* Featured Section in Mega Menu */ .mega-menu-featured { background: var(--surface); border-radius: var(--radius-xl); padding: var(--space-xl); display: flex; flex-direction: column; justify-content: space-between; } .mega-menu-featured-title { font-size: var(--text-lg); font-weight: 700; color: var(--primary); margin-bottom: var(--space-sm); } .mega-menu-featured-desc { color: var(--text-secondary); margin-bottom: var(--space-lg); } .mega-menu-featured .btn { align-self: flex-start; } /* Theme Switcher */ .nav-actions { display: flex; align-items: center; gap: var(--space-md); } .theme-switcher { position: relative; } .theme-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-full); border: 2px solid var(--border); background: var(--background); color: var(--text); cursor: pointer; transition: all var(--transition-fast); } .theme-btn:hover { border-color: var(--primary); transform: rotate(180deg); } .theme-dropdown { position: absolute; top: calc(100% + var(--space-sm)); right: 0; min-width: 200px; background: var(--background); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all var(--transition-base); padding: var(--space-sm); } .theme-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0); } .theme-option { display: flex; align-items: center; gap: var(--space-md); width: 100%; padding: var(--space-sm) var(--space-md); border: none; background: none; color: var(--text); cursor: pointer; font-size: var(--text-sm); font-family: inherit; border-radius: var(--radius-md); transition: all var(--transition-fast); } .theme-option:hover { background: var(--surface); } .theme-option.active { background: var(--primary); color: white; } .theme-colors { display: flex; gap: 2px; } .theme-colors span { width: 16px; height: 16px; border-radius: var(--radius-sm); } /* Mobile Navigation Toggle */ .nav-toggle { display: none; flex-direction: column; gap: 4px; padding: var(--space-sm); background: none; border: none; cursor: pointer; } .nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: all var(--transition-base); } .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .nav-toggle.active span:nth-child(2) { opacity: 0; } .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); } /* Hero Section */ /* ========================= */ .hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; } .hero-background { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); background-size: cover; background-position: center; } .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%); } /* Wave animation removed for cleaner design */ .hero-content { position: relative; z-index: 1; text-align: center; color: white; padding: var(--space-2xl); } .hero-title { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 800; margin-bottom: var(--space-lg); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .hero-subtitle { display: block; font-size: var(--text-lg); font-weight: 400; opacity: 0.9; margin-bottom: var(--space-sm); } .hero-description { font-size: var(--text-xl); max-width: 600px; margin: 0 auto var(--space-2xl); opacity: 0.95; } .hero-actions { display: flex; gap: var(--space-lg); justify-content: center; flex-wrap: wrap; } .hero-scroll-indicator { position: absolute; bottom: var(--space-2xl); left: 50%; transform: translateX(-50%); text-align: center; color: white; opacity: 0.8; display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); } .scroll-arrow { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid white; display: block; animation: bounce 2s infinite; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } } /* Buttons */ /* ========================= */ .btn { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); font-size: var(--text-base); font-weight: 600; font-family: inherit; border: 2px solid transparent; border-radius: var(--radius-full); cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; z-index: 1; } /* New modern animations - no ripple effect */ .btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; } .btn:hover::before { left: 100%; } /* Primary button - gradient shift animation */ .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 50%, var(--accent) 50%, var(--accent) 100%); background-size: 200% 100%; background-position: 0% 0%; color: white; border-color: var(--primary); } .btn-primary:hover { background-position: 100% 0%; transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,0.15); } /* Secondary button - soft lift animation */ .btn-secondary { background: white; color: var(--primary); border-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .btn-secondary:hover { background: white; transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.15); } /* Accent button - glow animation */ .btn-accent { background: var(--accent); color: white; border-color: var(--accent); position: relative; } .btn-accent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 20px rgba(var(--accent-rgb, 220,53,69), 0.4), 0 10px 20px rgba(0,0,0,0.15); } /* Outline button - fill wipe animation */ .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); position: relative; } .btn-outline::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--primary); transition: width 0.3s ease; z-index: -1; } .btn-outline:hover { color: white; transform: translateY(-2px); } .btn-outline:hover::after { width: 100%; } /* Outline light button - fill wipe animation */ .btn-outline-light { background: transparent; color: white; border-color: white; position: relative; } .btn-outline-light::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: white; transition: width 0.3s ease; z-index: -1; } .btn-outline-light:hover { color: var(--primary); transform: translateY(-2px); } .btn-outline-light:hover::after { width: 100%; } .btn-large { padding: var(--space-md) var(--space-2xl); font-size: var(--text-lg); } .btn-icon { transition: transform var(--transition-fast); } .btn:hover .btn-icon { transform: translateX(4px); } .btn-icon-sm { width: 16px; height: 16px; } /* Services Section */ /* ========================= */ .services-split { padding: var(--space-3xl) 0; background: var(--surface); } .section-header { margin-bottom: var(--space-3xl); } .section-title { font-size: var(--text-4xl); color: var(--text); margin-bottom: var(--space-md); } .section-subtitle { font-size: var(--text-xl); color: var(--text-secondary); } .text-center { text-align: center; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: var(--space-2xl); } .service-card { background: var(--background); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); transition: all var(--transition-base); } .service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); } .service-image { position: relative; height: 250px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; } .charter-card .service-image { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); } .maintenance-card .service-image { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); } .service-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%); } .service-icon { position: relative; z-index: 1; color: white; animation: float 3s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .service-content { padding: var(--space-2xl); } .service-title { font-size: var(--text-2xl); margin-bottom: var(--space-md); } .service-description { color: var(--text-secondary); margin-bottom: var(--space-lg); } .service-features { list-style: none; margin-bottom: var(--space-xl); } .service-features li { position: relative; padding-left: var(--space-xl); margin-bottom: var(--space-sm); color: var(--text-secondary); } .service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; } /* Stats Section */ /* ========================= */ .stats-section { padding: var(--space-3xl) 0; background: var(--surface); position: relative; overflow: hidden; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2xl); position: relative; z-index: 1; } .stat-card { text-align: center; background: white; padding: var(--space-2xl) var(--space-xl); border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); transition: transform var(--transition-base), box-shadow var(--transition-base); } .stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); } .stat-number { font-size: var(--text-4xl); font-weight: 800; margin-bottom: var(--space-sm); color: var(--primary); } .stat-number::after { content: '+'; } .stat-label { font-size: var(--text-lg); color: var(--text-secondary); font-weight: 500; } /* Yacht Cards */ /* ========================= */ .featured-yachts { padding: var(--space-3xl) 0; } .yacht-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: var(--space-2xl); } .yacht-card { background: var(--background); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition-base); } .yacht-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); } .yacht-image { position: relative; height: 250px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; } .yacht-badge { position: absolute; top: var(--space-md); right: var(--space-md); padding: var(--space-xs) var(--space-md); background: var(--accent); color: white; font-size: var(--text-sm); font-weight: 600; border-radius: var(--radius-full); } .badge-luxury { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); } .badge-value { background: linear-gradient(135deg, #10b981 0%, #059669 100%); } .yacht-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition-base); } .yacht-card:hover .yacht-overlay { opacity: 1; } .yacht-view-btn { padding: var(--space-sm) var(--space-lg); background: white; color: var(--primary); border: none; border-radius: var(--radius-full); font-weight: 600; cursor: pointer; transition: all var(--transition-base); } .yacht-view-btn:hover { background: var(--primary); color: white; transform: scale(1.05); } .yacht-content { padding: var(--space-xl); } .yacht-name { font-size: var(--text-xl); margin-bottom: var(--space-xs); } .yacht-type { color: var(--text-secondary); margin-bottom: var(--space-md); } .yacht-specs { display: flex; gap: var(--space-lg); margin-bottom: var(--space-lg); } .spec { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--text-secondary); } .spec svg { color: var(--primary); } .spec-icon { font-size: 1.2em; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; } .yacht-price { display: flex; align-items: baseline; gap: var(--space-sm); margin-bottom: var(--space-lg); } .price-label { font-size: var(--text-sm); color: var(--text-secondary); } .price-value { font-size: var(--text-2xl); font-weight: 700; color: var(--primary); } /* Testimonials */ /* ========================= */ .testimonials { padding: var(--space-3xl) 0; background: var(--surface); } .testimonials-slider { position: relative; max-width: 800px; margin: 0 auto var(--space-2xl); } .testimonial-card { display: none; background: var(--background); border-radius: var(--radius-xl); padding: var(--space-2xl); box-shadow: var(--shadow-lg); } .testimonial-card.active { display: block; animation: fadeIn var(--transition-slow); } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .stars { color: #fbbf24; font-size: var(--text-xl); margin-bottom: var(--space-lg); } .testimonial-text { font-size: var(--text-lg); line-height: 1.8; color: var(--text); margin-bottom: var(--space-xl); font-style: italic; } .testimonial-author { display: flex; align-items: center; gap: var(--space-md); } .author-avatar { width: 50px; height: 50px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; } .author-name { font-weight: 600; color: var(--text); } .author-title { font-size: var(--text-sm); color: var(--text-secondary); } .testimonial-dots { display: flex; justify-content: center; gap: var(--space-sm); } .dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--border); border: none; cursor: pointer; transition: all var(--transition-base); } .dot.active { width: 30px; background: var(--primary); } /* CTA Section */ /* ========================= */ .cta-section { padding: var(--space-3xl) 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); } .cta-content { text-align: center; color: white; } .cta-title { font-size: var(--text-4xl); margin-bottom: var(--space-lg); } .cta-description { font-size: var(--text-xl); max-width: 600px; margin: 0 auto var(--space-2xl); opacity: 0.95; } .cta-actions { display: flex; gap: var(--space-lg); justify-content: center; flex-wrap: wrap; } /* Footer */ /* ========================= */ .footer { background: var(--text); color: white; padding: var(--space-3xl) 0 var(--space-xl); } .footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: var(--space-3xl); margin-bottom: var(--space-3xl); } .footer-brand { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-lg); } .footer-logo { color: white; } .footer-description { color: rgba(255, 255, 255, 0.8); margin-bottom: var(--space-xl); } .footer-social { display: flex; gap: var(--space-md); } .social-link { width: 40px; height: 40px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: white; transition: all var(--transition-base); } .social-link:hover { background: var(--primary); transform: translateY(-2px); } .footer-title { font-size: var(--text-lg); margin-bottom: var(--space-lg); } .footer-links { list-style: none; } .footer-links li { margin-bottom: var(--space-sm); } .footer-links a { color: rgba(255, 255, 255, 0.8); transition: color var(--transition-fast); } .footer-links a:hover { color: white; } .footer-contact .contact-item { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); color: rgba(255, 255, 255, 0.8); } .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-2xl); border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-copyright { color: rgba(255, 255, 255, 0.6); } .footer-legal { display: flex; gap: var(--space-xl); } .footer-legal a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition-fast); } .footer-legal a:hover { color: white; } /* Responsive Design */ /* ========================= */ @media (max-width: 1024px) { .services-grid { grid-template-columns: 1fr; } .yacht-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } .footer-content { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--background); flex-direction: column; align-items: flex-start; padding: var(--space-3xl) var(--space-xl); box-shadow: var(--shadow-xl); transition: right var(--transition-base); } .nav-menu.active { right: 0; } .nav-toggle { display: flex; } .hero-title { font-size: var(--text-3xl); } .hero-description { font-size: var(--text-lg); } .hero-actions { flex-direction: column; align-items: center; } .stats-grid { grid-template-columns: repeat(2, 1fr); } .footer-content { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: var(--space-lg); text-align: center; } .footer-legal { flex-direction: column; gap: var(--space-sm); } } @media (max-width: 480px) { .container { padding: 0 var(--space-md); } .services-grid { grid-template-columns: 1fr; } .yacht-grid { grid-template-columns: 1fr; } .yacht-specs { flex-direction: column; gap: var(--space-sm); } }