/* ======================================== Will Ghormley Leatherworking — Global Styles ======================================== */ :root { --leather-dark: #2C1810; --leather-medium: #5C3D2E; --leather-light: #8B5E3C; --leather-tan: #C4A77D; --leather-cream: #E8DCC4; --gold-accent: #D4AF37; --gold-light: #F0D78C; --text-light: #F5EFE6; --shadow-dark: rgba(20, 10, 5, 0.6); --max-width: 1100px; --nav-height: 70px; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } body { min-height: 100vh; font-family: 'Lora', Georgia, serif; background: var(--leather-dark); color: var(--text-light); display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Leather texture overlay */ body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(ellipse at 30% 20%, rgba(241, 211, 183, 0.4) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(235, 195, 165, 0.35) 0%, transparent 50%), url('../images/leather-bg.png'); background-repeat: no-repeat, no-repeat, repeat; background-size: 100% 100%, 100% 100%, 1000px; opacity: 0.85; mix-blend-mode: soft-light; filter: brightness(1.8) contrast(0.95); pointer-events: none; z-index: 0; } img { max-width: 100%; height: auto; } a { color: var(--gold-accent); text-decoration: none; transition: color 0.3s ease; } a:hover { color: var(--gold-light); } /* ======================================== Fade-in Animation ======================================== */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } } .fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; } .fade-in.visible { opacity: 1; transform: translateY(0); } /* ======================================== Header & Navigation ======================================== */ .site-header { position: sticky; top: 0; z-index: 100; background: linear-gradient(180deg, var(--leather-dark) 0%, rgba(44, 24, 16, 0.97) 100%); border-bottom: 2px solid var(--leather-tan); box-shadow: 0 4px 20px var(--shadow-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); } .header-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; } .header-logo img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--gold-accent); object-fit: contain; background: #fff; padding: 6px; box-sizing: border-box; } .header-logo span { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; color: var(--leather-cream); letter-spacing: 0.05em; white-space: nowrap; } /* Main navigation */ .main-nav { display: flex; align-items: center; gap: 5px; } .main-nav>a, .nav-dropdown>.nav-link { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--leather-tan); text-decoration: none; padding: 8px 14px; letter-spacing: 0.05em; transition: color 0.3s ease, background 0.3s ease; border-radius: 4px; white-space: nowrap; } .main-nav>a:hover, .main-nav>a.active, .nav-dropdown:hover>.nav-link, .nav-dropdown>.nav-link.active { color: var(--gold-accent); background: rgba(212, 175, 55, 0.08); } /* Dropdown */ .nav-dropdown { position: relative; } .nav-dropdown>.nav-link { cursor: default; display: flex; align-items: center; gap: 5px; } .nav-dropdown>.nav-link::after { content: ''; border: 4px solid transparent; border-top-color: currentColor; margin-top: 2px; transition: transform 0.3s ease; } .nav-dropdown:hover>.nav-link::after, .nav-dropdown.open>.nav-link::after { transform: rotate(180deg); margin-top: -2px; } .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--leather-dark); border: 1px solid var(--leather-tan); border-radius: 4px; box-shadow: 0 10px 30px var(--shadow-dark); padding: 8px 0; z-index: 200; } .nav-dropdown:hover .dropdown-menu { display: block; } .dropdown-menu a { display: block; padding: 10px 20px; font-family: 'Lora', serif; font-size: 0.9rem; color: var(--leather-cream); transition: background 0.2s ease, color 0.2s ease; } .dropdown-menu a:hover, .dropdown-menu a.active { background: rgba(212, 175, 55, 0.1); color: var(--gold-accent); } /* Cart icon in nav */ .nav-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 15px; border-radius: 50%; background: rgba(44, 24, 16, 0.4); border: 1px solid rgba(196, 167, 125, 0.25); transition: all 0.3s ease; } .nav-cart svg { color: var(--leather-cream); transition: all 0.3s ease; } .nav-cart:hover { background: rgba(92, 61, 46, 0.8); border-color: var(--gold-accent); transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow-dark); } .nav-cart:hover svg, .nav-cart.active svg { color: var(--gold-accent); } /* Highlighted state when items in cart */ .nav-cart.has-items { background: linear-gradient(135deg, rgba(92, 61, 46, 0.95) 0%, rgba(44, 24, 16, 1) 100%); border-color: var(--gold-accent); box-shadow: 0 0 15px rgba(212, 175, 55, 0.25), inset 0 0 8px rgba(212, 175, 55, 0.15); } .nav-cart.has-items svg { color: var(--gold-light); filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.5)); } .cart-badge { position: absolute; top: -2px; right: -4px; background: #C82333; color: #fff; font-family: 'Cinzel', serif; font-size: 0.65rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; border: 1.5px solid var(--gold-accent); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); } @keyframes cartWobble { 0% { transform: scale(1) rotate(0); } 15% { transform: scale(1.25) rotate(-10deg); } 30% { transform: scale(1.3) rotate(10deg); } 45% { transform: scale(1.2) rotate(-10deg); } 60% { transform: scale(1.1) rotate(10deg); } 75% { transform: scale(1.05) rotate(-5deg); } 100% { transform: scale(1) rotate(0); } } .cart-animating svg { animation: cartWobble 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; color: var(--gold-light) !important; } /* Toast animation */ @keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } } /* Mobile menu toggle — hamburger animation */ .menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 101; } .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--leather-tan); transition: all 0.3s ease; transform-origin: center; } .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); } .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* ======================================== Page Content ======================================== */ .page-content { position: relative; z-index: 1; flex: 1; max-width: var(--max-width); width: 100%; margin: 0 auto; padding: 40px 20px; } /* Section styling */ .section { margin-bottom: 60px; } .section-title { font-family: 'Cinzel', serif; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--leather-cream); margin-bottom: 10px; text-shadow: 2px 2px 4px var(--shadow-dark); } .section-subtitle { font-family: 'Cinzel', serif; font-size: clamp(0.85rem, 2vw, 1rem); color: var(--gold-accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 25px; } /* Divider */ .divider { display: flex; align-items: center; gap: 20px; margin: 30px 0; } .divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--leather-tan), transparent); } .divider-icon { color: var(--gold-accent); font-size: 1.2rem; flex-shrink: 0; } /* Cards */ .card { background: linear-gradient(135deg, rgba(92, 61, 46, 0.5) 0%, rgba(44, 24, 16, 0.7) 100%); border: 1px solid var(--leather-tan); border-radius: 8px; padding: 30px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 30px var(--shadow-dark); } /* Image gallery grid */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; } .gallery-item { position: relative; border-radius: 8px; overflow: hidden; border: 2px solid var(--leather-tan); box-shadow: 0 8px 25px var(--shadow-dark); transition: all 0.4s ease; aspect-ratio: 1; } .gallery-item:hover { transform: translateY(-5px); border-color: var(--gold-accent); box-shadow: 0 15px 40px var(--shadow-dark), 0 0 20px rgba(212, 175, 55, 0.2); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .gallery-item:hover img { transform: scale(1.05); } .gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 10px 10px; background: linear-gradient(to top, rgba(44, 24, 16, 0.95) 0%, rgba(44, 24, 16, 0.6) 60%, transparent 100%); font-family: 'Cinzel', serif; font-size: 0.8rem; color: var(--leather-cream); text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); } .gallery-caption small { display: block; font-family: 'Lora', serif; font-size: 0.7rem; color: var(--leather-tan); margin-top: 3px; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; background: linear-gradient(135deg, var(--leather-medium) 0%, var(--leather-dark) 100%); border: 2px solid var(--gold-accent); border-radius: 4px; color: var(--gold-light); font-family: 'Cinzel', serif; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 20px var(--shadow-dark); text-decoration: none; min-height: 48px; } .btn:hover { background: linear-gradient(135deg, var(--gold-accent) 0%, var(--leather-medium) 100%); color: var(--leather-dark); transform: translateY(-3px); box-shadow: 0 8px 30px var(--shadow-dark), 0 0 20px rgba(212, 175, 55, 0.4); } .btn:active { transform: translateY(-1px); box-shadow: 0 4px 15px var(--shadow-dark); } .btn-outline { background: transparent; border: 2px solid var(--leather-light); color: var(--leather-tan); } .btn-outline:hover { border-color: var(--gold-accent); color: var(--gold-light); background: rgba(212, 175, 55, 0.08); } /* Button group — responsive stacking */ .btn-group { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-top: 30px; } /* ======================================== Footer ======================================== */ .site-footer { position: relative; z-index: 1; border-top: 2px solid var(--leather-tan); background: linear-gradient(0deg, var(--leather-dark) 0%, rgba(44, 24, 16, 0.97) 100%); } .footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 46px 20px 38px; display: grid; grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(160px, 1fr)); gap: 34px; align-items: start; } .footer-section h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold-accent); margin-bottom: 15px; letter-spacing: 0.1em; } .footer-section p, .footer-section a { font-size: 0.9rem; color: var(--leather-tan); line-height: 1.8; } .footer-section p { margin: 0; } .footer-brand p { max-width: 380px; } .footer-address { margin-top: 14px !important; color: var(--leather-cream) !important; } .footer-section a:hover { color: var(--gold-light); } .footer-nav { list-style: none; } .footer-nav li { margin-bottom: 8px; } .footer-bottom { text-align: center; padding: 20px; border-top: 1px solid rgba(196, 167, 125, 0.2); color: var(--leather-tan); font-size: 0.85rem; opacity: 0.7; } /* ======================================== Tables ======================================== */ .styled-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; } .styled-table th { font-family: 'Cinzel', serif; text-align: left; padding: 12px 15px; background: rgba(92, 61, 46, 0.4); color: var(--gold-accent); border-bottom: 2px solid var(--leather-tan); font-size: 0.85rem; letter-spacing: 0.05em; white-space: nowrap; } .styled-table td { padding: 12px 15px; border-bottom: 1px solid rgba(196, 167, 125, 0.15); color: var(--leather-cream); } .styled-table tr:hover td { background: rgba(212, 175, 55, 0.05); } /* ======================================== Contact Form ======================================== */ .contact-form { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 500px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-group label { color: var(--leather-tan); font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.05em; } .form-group input, .form-group textarea, .form-group select { padding: 12px 15px; background: rgba(232, 220, 196, 0.1); border: 1px solid var(--leather-light); border-radius: 4px; color: var(--text-light); font-family: 'Lora', serif; font-size: 1rem; transition: all 0.3s ease; min-height: 48px; } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold-accent); background: rgba(232, 220, 196, 0.15); box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); } .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(196, 167, 125, 0.5); } .form-status { text-align: center; margin-top: 15px; font-style: italic; min-height: 24px; } .form-status.success { color: var(--gold-light); } .form-status.error { color: #ff6b6b; } /* ======================================== Product Grid (Patterns, Gun Leather) ======================================== */ .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; } .product-card { background: linear-gradient(135deg, rgba(92, 61, 46, 0.5) 0%, rgba(44, 24, 16, 0.7) 100%); border: 1px solid var(--leather-tan); border-radius: 8px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 5px 20px var(--shadow-dark); display: flex; flex-direction: column; } .product-card:hover { transform: translateY(-5px); border-color: var(--gold-accent); box-shadow: 0 10px 35px var(--shadow-dark), 0 0 15px rgba(212, 175, 55, 0.15); } .product-card-image { width: 100%; aspect-ratio: 3/4; overflow: hidden; } .product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .product-card:hover .product-card-image img { transform: scale(1.05); } .product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; } .product-card-title { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--leather-cream); margin-bottom: 8px; } .product-card-price { font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--gold-accent); font-weight: 700; margin-bottom: 10px; } .product-card-desc { font-size: 0.9rem; color: var(--leather-tan); line-height: 1.6; flex: 1; } /* ======================================== Hero Section ======================================== */ .hero { text-align: center; padding: 40px 20px 30px; animation: fadeInUp 0.8s ease-out; } .hero-logo { width: 200px; height: 200px; border-radius: 50%; border: 4px solid var(--gold-accent); box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 10px 40px var(--shadow-dark); margin: 0 auto 25px; object-fit: cover; object-position: center 18%; } .hero h1 { font-family: 'Cinzel', serif; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; color: var(--leather-cream); text-shadow: 2px 2px 4px var(--shadow-dark), 0 0 30px rgba(212, 175, 55, 0.2); letter-spacing: 0.1em; margin-bottom: 5px; } .hero-tagline { font-family: 'Cinzel', serif; font-size: clamp(0.9rem, 2.5vw, 1.2rem); color: var(--gold-accent); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 20px; } .hero-intro { max-width: 700px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: var(--leather-cream); } /* ======================================== Contact Page Layout ======================================== */ .contact-layout { display: flex; flex-wrap: wrap; gap: 40px; } .contact-info-col { flex: 1; min-width: 280px; } .contact-form-col { flex: 1; min-width: 320px; } /* ======================================== Focus / Accessibility ======================================== */ :focus-visible { outline: 2px solid var(--gold-accent); outline-offset: 2px; } .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; } /* Skip link for keyboard navigation */ .skip-link { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); background: var(--gold-accent); color: var(--leather-dark); padding: 10px 20px; font-family: 'Cinzel', serif; font-size: 0.9rem; border-radius: 0 0 8px 8px; z-index: 999; transition: top 0.2s ease; } .skip-link:focus { top: 0; } /* ======================================== Responsive — Tablet (1024px) ======================================== */ @media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid { grid-template-columns: repeat(3, 1fr); } } /* ======================================== Responsive — Mobile (768px) ======================================== */ @media (max-width: 768px) { :root { --nav-height: 60px; } .menu-toggle { display: flex; } .main-nav { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--leather-dark); border-bottom: 2px solid var(--leather-tan); flex-direction: column; padding: 15px 20px; gap: 5px; box-shadow: 0 10px 30px var(--shadow-dark); } .main-nav.open { display: flex; } .main-nav>a, .nav-dropdown>.nav-link { padding: 12px 14px; font-size: 0.95rem; } .main-nav>a.nav-cart { margin: 10px auto 15px; padding: 0; border-radius: 50%; } .nav-dropdown .dropdown-menu { position: static; border: none; box-shadow: none; padding-left: 20px; display: none; } .nav-dropdown.open .dropdown-menu { display: block; } .nav-dropdown>.nav-link { cursor: pointer; } .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; } .footer-brand p { max-width: none; margin-left: auto; margin-right: auto; } .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } .product-card-body { padding: 15px; } .product-card-title { font-size: 0.95rem; } .product-card-price { font-size: 1rem; } .product-card-desc { font-size: 0.85rem; } .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .hero { padding: 30px 15px 20px; } .hero-logo { width: 140px; height: 140px; } .hero h1 { letter-spacing: 0.05em; } .hero-tagline { letter-spacing: 0.15em; margin-bottom: 20px; } .hero-intro { font-size: 1rem; } /* Table: horizontal scroll with shadow hint */ .styled-table { font-size: 0.85rem; } .styled-table th, .styled-table td { padding: 10px 12px; } /* Card-style table rows on mobile for narrow tables */ .table-card-mobile .styled-table thead { display: none; } .table-card-mobile .styled-table, .table-card-mobile .styled-table tbody, .table-card-mobile .styled-table tr, .table-card-mobile .styled-table td { display: block; width: 100%; } .table-card-mobile .styled-table tr { margin-bottom: 15px; padding: 15px; border: 1px solid rgba(196, 167, 125, 0.2); border-radius: 6px; background: rgba(92, 61, 46, 0.2); } .table-card-mobile .styled-table td { padding: 4px 0; border-bottom: none; text-align: left; } .table-card-mobile .styled-table td::before { content: attr(data-label); font-family: 'Cinzel', serif; font-size: 0.75rem; color: var(--gold-accent); display: block; margin-bottom: 3px; letter-spacing: 0.05em; } .section { margin-bottom: 45px; } .card { padding: 20px; } /* Contact page layout */ .contact-layout { flex-direction: column; gap: 25px; } .contact-info-col, .contact-form-col { min-width: 0; } .contact-form { max-width: none; } .btn { padding: 12px 24px; font-size: 0.9rem; } .divider { margin: 20px 0; gap: 15px; } .section-title { text-align: center; } .section-subtitle { text-align: center; } } /* ======================================== Responsive — Small Phone (480px) ======================================== */ @media (max-width: 480px) { .header-logo span { font-size: 1rem; } .header-logo img { width: 40px; height: 40px; padding: 4px; } .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery-caption { font-size: 0.7rem; padding: 8px 6px 6px; } .product-grid { grid-template-columns: 1fr; } .product-card-image { aspect-ratio: 4/3; } .hero-logo { width: 120px; height: 120px; border-width: 3px; } .hero { padding: 25px 10px 15px; } .page-content { padding: 25px 15px; } .btn { width: 100%; padding: 14px 20px; } .btn-group { flex-direction: column; align-items: stretch; gap: 12px; } .footer-inner { padding: 30px 15px; } /* Pricing table scroll indicator */ .pricing-table-wrap { position: relative; } .pricing-table-wrap::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 30px; background: linear-gradient(to left, rgba(44, 24, 16, 0.8), transparent); pointer-events: none; opacity: 0; transition: opacity 0.3s; } .pricing-table-wrap.scrollable::after { opacity: 1; } } /* ======================================== Utility Classes ======================================== */ .text-center { text-align: center; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* ======================================== reCAPTCHA responsive ======================================== */ .g-recaptcha { margin-top: 15px; display: flex; justify-content: center; } @media (max-width: 380px) { .g-recaptcha { transform: scale(0.85); transform-origin: center; } }