* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(
        135deg,
        #e4f5ff 0%,
        rgb(21, 107, 199) 50%,
        #648ce9 100%
    );
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatAround 20s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    border-radius: 30px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    transform: rotate(45deg);
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
    border-radius: 20px;
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes floatAround {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 30px) rotate(270deg) scale(1.05);
    }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #dfcaf4ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Home Button */
.home-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.home-btn::before {
    content: "🏠 ";
    margin-right: 8px;
}

.home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg,
        rgba(255, 236, 210, 0.9),
        rgba(252, 182, 159, 0.9)
    );
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin: 2rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.05"/><circle cx="75" cy="25" r="1" fill="%23000" opacity="0.05"/><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.05"/><circle cx="25" cy="75" r="1" fill="%23000" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-images {
    flex: 1;
    display: flex;
    gap: 2rem;
    position: relative;
}

.hero-image {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.hero-image:first-child {
    transform: rotate(-8deg) scale(0.95);
    animation: floatUp 3s ease-in-out infinite;
}

.hero-image:last-child {
    transform: rotate(8deg) scale(0.95);
    margin-top: 3rem;
    animation: floatDown 3s ease-in-out infinite reverse;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

@keyframes floatUp {
    0%,
    100% {
        transform: rotate(-8deg) scale(0.95) translateY(0px);
    }
    50% {
        transform: rotate(-8deg) scale(0.95) translateY(-15px);
    }
}

@keyframes floatDown {
    0%,
    100% {
        transform: rotate(8deg) scale(0.95) translateY(0px);
    }
    50% {
        transform: rotate(8deg) scale(0.95) translateY(15px);
    }
}

.hero-image img {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hero-text {
    flex: 1;
    color: #333;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(240, 147, 251, 0.5));
    }
}

.hero-text .subtitle {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-elements {
    position: absolute;
    top: 10%;
    right: 5%;
    z-index: 1;
}

.floating-flower {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    animation: complexFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.3);
}

@keyframes complexFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(-15px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-35px) rotate(270deg) scale(1.05);
    }
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.section {
    margin-bottom: 4rem;
}

/* Brosur Section */
.brosur-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.gallery-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.main-gallery {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.9),
        rgba(118, 75, 162, 0.9)
    );
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
}

.main-gallery:hover .main-image {
    transform: scale(1.05);
}

.main-gallery:hover .gallery-overlay {
    opacity: 1;
    backdrop-filter: blur(5px);
}

.thumbnail-gallery {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.3),
        rgba(240, 147, 251, 0.3)
    );
    opacity: 0;
    transition: all 0.3s ease;
}

.thumbnail:hover::before {
    opacity: 1;
}

.thumbnail.active {
    border-color: #667eea;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.plant-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Content Section */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.content-section h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.content-section p {
    line-height: 2;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.1rem;
}

/* Interactive Price Calculator */
.pricelist-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricelist-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.price-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
    font-size: 1.2rem;
}

.price-calculator {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    background: rgba(102, 126, 234, 0.02);
    position: relative;
    overflow: hidden;
}

.price-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1),
        rgba(240, 147, 251, 0.1)
    );
    transition: all 0.4s ease;
}

.price-row:hover::before {
    left: 0;
}

.price-row:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.price-label {
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.price-value {
    color: #555;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.interactive-input {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.interactive-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.total-price {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.total-price h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.total-price .amount {
    font-size: 2.5rem;
    font-weight: 900;
}

/* Category Badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 10px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-badge i {
    font-size: 0.8rem;
}

/* Category Info Section */
.category-info {
    margin: 40px 0;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.info-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.info-item li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #4facfe;
    font-size: 0.8rem;
}

.info-item li:hover {
    color: #fff;
    transform: translateX(5px);
}

.info-item li:last-child {
    border-bottom: none;
}

/* Animation untuk loading calculator */
@keyframes calculatePulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.calculating .price-amount {
    animation: calculatePulse 1s infinite;
}

/* Custom size input styling */
#customSizeRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#customSizeRow.show {
    max-height: 100px;
    margin-top: 10px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Additional Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-in forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.container-co {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #667eea;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo span {
    font-size: 1.8rem;
    font-weight: 800;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tab-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;
}

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

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.tab-btn:hover {
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.checkout-icon {
    font-size: 2rem;
}

.checkout-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Enhanced form styling */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Enhanced Calculator Options */
.calculator-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.calculator-row {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.calculator-row:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.calculator-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-select,
.form-input {
    padding: 12px 16px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    min-width: 200px;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Price Display Enhancement */
.price-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.price-summary::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;
}

.price-summary:hover::before {
    left: 100%;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.checkout-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.3);
}

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

.checkout-btn:active {
    transform: translateY(-1px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    max-width: 400px;
    margin: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-content.success {
    background: linear-gradient(135deg, #667eea 0%, #22c55e 100%);
}

.modal-content.error {
    background: linear-gradient(135deg, #667eea 0%, #ef4444 100%);
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Mobile Header */
    .header {
        padding: 0.8rem 0;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.4rem;
        gap: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .home-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Mobile Hero Section */
    .hero {
        margin: 1rem 0.5rem;
        padding: 2rem 1rem;
        border-radius: 20px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-images {
        order: 2;
        justify-content: center;
        gap: 1rem;
    }

    .hero-image {
        padding: 1rem;
        border-radius: 15px;
        order: 2;
        gap: 1.5rem;
    }

    .hero-image img {
        width: 140px;
        height: 180px;
    }

    .hero-image:first-child,
    .hero-image:last-child {
        transform: none;
        margin-top: 0;
        animation: none;
    }

    .hero-text {
        order: 1;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .floating-elements {
        display: none;
    }

    /* Mobile Main Content */
    .main-content {
        padding: 2rem 0;
    }

    .section {
        margin-bottom: 2rem;
    }

    /* Mobile Brosur Section */
    .brosur-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail-gallery {
        gap: 1rem;
        justify-content: center;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    /* Mobile Content Section */
    .content-section {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .content-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .content-section p {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
    }

    /* Mobile Price Calculator */
    .pricelist-section {
        padding: 1.5rem;
        border-radius: 20px;
        margin-top: 2rem;
    }

    .pricelist-section h2 {
        font-size: 1.8rem;
    }

    .price-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        text-align: left;
    }

    .price-row:hover {
        transform: none;
    }

    .total-price {
        padding: 1.5rem;
    }

    .total-price h3 {
        font-size: 1.2rem;
    }

    .total-price .amount {
        font-size: 2rem;
    }

    /* Mobile Category Info */
    .category-info {
        margin: 20px 0;
    }

    .info-card {
        padding: 20px;
        border-radius: 15px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        padding: 15px;
    }

    /* Mobile Form Elements */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .calculator-options {
        gap: 15px;
    }

    .calculator-row {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 10px;
        padding: 12px;
    }

    .calculator-label {
        justify-self: start;
        margin-bottom: 5px;
    }

    .form-select,
    .form-input {
        min-width: 100%;
        width: 100%;
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    /* Mobile Tabs */
    .tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        max-width: 250px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Mobile Checkout */
    .checkout-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .checkout-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .checkout-title {
        font-size: 1.2rem;
    }

    .checkout-btn {
        padding: 15px 25px;
        font-size: 1rem;
        border-radius: 40px;
    }

    /* Mobile Price Summary */
    .price-summary {
        padding: 20px;
        margin: 20px 0;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    /* Mobile Modal */
    .modal-content {
        margin: 0 20px;
        padding: 1.5rem;
        max-width: calc(100% - 40px);
    }

    .success-icon,
    .error-icon {
        font-size: 3rem;
    }

    /* Mobile Scroll to Top */
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Tablet Header */
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Tablet Hero */
    .hero {
        margin: 1.5rem;
        padding: 3rem 2rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero-images {
        order: 2;
        gap: 1.5rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text .subtitle {
        font-size: 1.2rem;
    }

    .floating-elements {
        display: none;
    }

    /* Tablet Content */
    .brosur-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .main-image {
        height: 350px;
    }

    .content-section h2 {
        font-size: 2.2rem;
    }

    .pricelist-section h2 {
        font-size: 2.2rem;
    }

    /* Tablet Forms */
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .calculator-row {
        grid-template-columns: 1fr 2fr;
        gap: 15px;
    }

    .tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Tablet Info Grid */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablet Landscape / Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero {
        padding: 3.5rem 0;
    }

    .hero-content {
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-image img {
        width: 180px;
        height: 230px;
    }

    .brosur-section {
        gap: 3rem;
    }

    .main-image {
        height: 400px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calculator-row {
        grid-template-columns: 120px 1fr auto;
    }
}

/* Prevent horizontal scroll on all devices */
@media (max-width: 1024px) {
    .floating-shape {
        display: none;
    }

    .plant-decoration {
        display: none;
    }

    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    .hero-image:hover {
        transform: none;
    }

    .price-row:hover {
        transform: translateY(-2px);
    }

    .thumbnail:hover img {
        transform: none;
    }
}

/* Very Small Screens (max-width: 320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .hero {
        margin: 0.5rem;
        padding: 1.5rem 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-image img {
        width: 120px;
        height: 160px;
    }

    .gallery-container,
    .content-section,
    .pricelist-section,
    .checkout-card {
        padding: 1rem;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .form-select,
    .form-input,
    .form-textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .modal-content {
        margin: 0 10px;
        padding: 1rem;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-text {
        order: 1;
        flex: 1;
    }

    .hero-images {
        order: 2;
        flex: 1;
        gap: 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image img {
        width: 100px;
        height: 130px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .main-image,
    .thumbnail img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-menu,
    .scroll-to-top,
    .floating-shape,
    .floating-elements {
        display: none !important;
    }

    .hero,
    .gallery-container,
    .content-section,
    .pricelist-section {
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
}
