@charset "utf-8";

/* ==========================================================================
   LIPINSKI SOUND - LUXURY AUDIOPHILE DESIGN
   ========================================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img { 
    border: 0;
    max-width: 100%;
    height: auto;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0;
    padding: 0;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Luxury Links */
a {
    text-decoration: none;
    color: #c9a96e;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: #b8956b;
    text-decoration: none;
}

/* Luxury Button Styles */
.btn-luxury {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #c9a96e 0%, #b8956b 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
    color: #ffffff;
}

.btn-luxury::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.6s;
}

.btn-luxury:hover::before {
    left: 100%;
}

/* Main Layout Container */
#box {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0;
    background: transparent;
    min-height: 100vh;
    position: relative;
}

#subbox {
    display: none; /* Remove old styling element */
}

/* Luxury Header */
#top {
    position: relative;
    width: 100%;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

#top_link {
    display: block;
    transition: transform 0.3s ease;
}

#top_link:hover {
    transform: scale(1.05);
}

#logo_start {
    height: 80px;
    width: auto;
    filter: brightness(1.1) contrast(1.1);
}

#timeless_analog {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

#timeless_analog:hover {
    opacity: 1;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #c9a96e 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Luxury Content Areas */
.content-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* News Section Luxury Styling */
#news {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.n, .nList .n {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all 0.3s ease;
    width: auto;
    float: none;
}

.n:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.n a.title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.n a.title:hover {
    color: #c9a96e;
}

.newz {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* About Us Section */
#about_us {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    min-height: auto;
    position: relative;
}

#about_us .arr {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 110, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#about_us .arr:hover {
    background: rgba(201, 169, 110, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Related Links Luxury Design */
#related_start {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

#related_start ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#related_start li {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    min-height: 120px;
}

#related_start li:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

#related_start li a {
    display: block;
    padding: 2rem;
    background: linear-gradient(135deg, #c9a96e 0%, #b8956b 100%);
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#related_start li a::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.6s;
}

#related_start li a:hover::before {
    left: 100%;
}

/* Footer Luxury Styling */
#footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

#infooter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
}

#infooter a {
    color: #c9a96e;
    transition: color 0.3s ease;
}

#infooter a:hover {
    color: #ffffff;
}

/* Product Images Luxury Enhancement */
.product-image {
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    #top {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-section {
        padding: 3rem 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #related_start {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    #top {
        padding: 1rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    #news, #about_us {
        padding: 2rem;
        margin: 1rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.content-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Luxury Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #c9a96e 0%, #b8956b 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8956b 0%, #a8855f 100%);
}

/* Clear float utility */
.c {
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* Legacy support for existing dynamic content */
.t, div.t {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    width: auto;
    float: none;
}

/* Menu positioning update */
#ustaw_menu {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    margin: 0;
    padding: 0;
    height: auto;
    background: transparent;
}